Andreas Zieringer wrote:
Just add another transform node above your model. To get rid of the extra transform you could manipulate the vertex positions and normals directly in the geometry core.


Isn't there a GraphOp that does that (MergeGraphOp ??) ?
If called only for the node with the scaling transform core, like this:

  scene            <- rest of scene
  |
  n1 - t1          <- node n1 with transform core t1 (e.g. scaling)
  |
  n2 - geo         <- node n2 with geo core

Now IIRC calling MergeGraphOp on with n1 as root should fold the transform t1 into the vertex data of geo.

  Hope it helps,
        Carsten

PS: Its been a while since I worked on OpenSG, so I hope the above (still) applies and is not just a product of my memory ;)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to