Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (494)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Renderer design  (Read 4833 times)
0 Members and 1 Guest are viewing this topic.
Offline shawnkendall

Senior Member





« Reply #30 - Posted 2003-07-09 18:51:09 »

Unfortunately, some models simple have to be made of seperate geometries under a matrix hierarchy, for example, a robot.

One issue we ran into in the loader was that some transforms we know will not change at run-time, i.e. they were used to position a geometry, but will not animate at run-time.  
For public explaination...
In SGIs Performer these would be called Static Coordinate Systems (SCSs) as opposed to Dynamic Coordintate Systems (DCSs), which was there equalavent to J3Ds TransformGroups.  Sometimes the loader knows this and could properly make ths SCSs in Performer.  Then in a second pass, the SCS could be forced down into the geometry (we called it flattening) effectively removing the extraneous transforms.

We could not do this in our flt loader because we wanted to allow detaching at the "joint" points.  But if you don't plan to do that or know to add a transform back when you detach we could have cleaned out quite a few in most models.

This sort of issue is exactly why we are still moving forward on our sample rendering for a J3D scene graph.  There are many many more times, higher level fuctionality is known to be limited in a way that can really simplify/optimize drawlist  and state-sorted generation.

General graph renderers are great generally.  But since you can't hack/alter/modify the J3D renderer directly... now if it was plugable or open source.... ;-)

In any case, more examples of how to render a J3D scene graph is still valuable I believe.

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Offline shawnkendall

Senior Member





« Reply #31 - Posted 2003-07-09 19:24:29 »

I forgot to mention that the transform to geometry flattening can happen behind the scenes when the renderer queues/caches up it's geomerty, if the "capability bits" were set as not writable, as you can set in J3D.

Doug, your are talking about writable transforms I am assuming...

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Offline dtwilleager

Senior Newbie




Java games rock!


« Reply #32 - Posted 2003-07-09 20:08:02 »

Quote
I forgot to mention that the transform to geometry flattening can happen behind the scenes when the renderer queues/caches up it's geomerty, if the "capability bits" were set as not writable, as you can set in J3D.

Doug, your are talking about writable transforms I am assuming...


Yes.  In fact, if you set all the capability bits correctly and compile the graph, Java 3D will flatten for you.
Pages: 1 [2]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Dwinin (21 views)
2014-09-12 09:08:26

Norakomi (55 views)
2014-09-10 13:57:51

TehJavaDev (66 views)
2014-09-10 06:39:09

Tekkerue (33 views)
2014-09-09 02:24:56

mitcheeb (54 views)
2014-09-08 06:06:29

BurntPizza (38 views)
2014-09-07 01:13:42

Longarmx (24 views)
2014-09-07 01:12:14

Longarmx (30 views)
2014-09-07 01:11:22

Longarmx (28 views)
2014-09-07 01:10:19

mitcheeb (37 views)
2014-09-04 23:08:59
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!