 |
|  |
| Developer Information |
Developer documentation
A limited amount of documentation is available.
- Scripting reference. Describes so for the classes and methods available in the Adanaxis Rendering Demo.
- Doxygen. Autogenerated documentation from the C++ source code.
- Technical papers. Documents describing some of the techniques used in the software.
Adding levels to the Adanaxis Rendering Demo
- Find the spaces directory. On Mac OS X this is visible in the disk image (.dmg file), but you will need to drag the entire disk image contents to a hard drive to make it writable. On Windows, it's in the Adanaxis Rendering Demo directory in Program Files. On Linux, it'll be somewhere in /usr/share or /usr/local/share. The path to spaces can be changed in mushruby/MushConfig.rb if necessary.
- Copy one of the directories, say local1, and its contents, to a new directory in spaces. The name isn't importants but it should contain only letters and numbers.
- In the space.rb file in the newly created directory, change the initial
class line to match your directory name. If your new directory is user1 the class line changes from
class Adanaxis_local1 < AdanaxisSpace
to
class Adanaxis_user1 < AdanaxisSpace
The demo should now recognise your new level.
Scripting
The demo embeds the ruby interpreter (ruby 1.8.4), but without its extensions. Information about the ruby language can be found at www.ruby-lang.org. The system and file commands are still exposed, so scripts can be destructive (by deleting files, etc.). Only levels from a trusted source should be installed in your spaces directory (or you should review the ruby scripts first).
Most demo objects support the to_xml method to dump their contents.
Extrusion
The demo builds complex meshes from simple ones by extruding faces to form new polyhedra. Extrusion is limited at the moment by the following:
- Only base objects of the type MushBasePrism can be used. These always have 8 faces (faces meaning hyperfaces with extent in three dimensions).
- If the
order parameter is 4, extruders can be attached to any face. Otherwise they can only be attached to the z=±k and w=±k (see face numbering for MushBasePrism). Anything else will generate a Connectivity List error.
Further Developer Resources
If you need anything else do ask, either by PM to admin, mail to Andy Southgate or in the Software Forum. It is possible to use the demo to generate textures and triangle lists to drop into another game, for example.
|
|
|  |
| Screenshots |
 |
Pic Title: Adanaxis 0.7.0 Screenshot
Poster: southa Posted: Thu Apr 19, 2007 3:46 pm
View: 45149 Rating: 10 Comments: 0
|
|
 |
Pic Title: Adanaxis 0.7.0 Screenshot
Poster: southa Posted: Thu Apr 19, 2007 3:35 pm
View: 27698 Rating: 10 Comments: 0
|
|
| [ Album ] |
|
| Recent Topics |
» Miegakure - 4D puzzle game
by loki_clock on Mon Aug 02, 2010 6:33 am
» Mousewheel
by on Mon Jul 26, 2010 3:49 pm
» Invert Up/ Down Mouse
by Andy on Tue Jul 20, 2010 9:17 am
» 64-bit Mac support?
by admin on Wed Apr 21, 2010 4:22 am
» adanaxisgpl segfaults in gravity waves
by Quim Nuss on Tue Feb 23, 2010 1:12 pm
» Enemies do not need to aim in 4D!? ¬_¬
by loki_clock on Sat Jan 23, 2010 6:44 am
» An "Actual" First-Person Shooter?
by loki_clock on Fri Dec 04, 2009 8:21 pm
» Is the 4th dimension 'real'?
by loki_clock on Mon Nov 23, 2009 4:55 am
» 4D Fundamentals
by loki_clock on Mon Nov 23, 2009 4:51 am
» Is it possible to reach the Fourth Dimension?
by loki_clock on Mon Nov 23, 2009 4:41 am
|
|
| Statistics |
We have 506 registered users
The newest registered user is LoSt
Our users have posted a total of 299 articles within 83 topics
|
|
| Visit Counter |
| This site has 7646908 page views in total since Sun Feb 27, 2005 12:27 pm |
|
| Who is Online |
|
In total there are 3 users online :: 0 Registered, 3 Guests
Registered Users: None
[ View complete list ]
|
|
|  |