[Papervision3D] How to use drawTriangle?

Clox ogggan at gmail.com
Sat Sep 20 08:36:01 PDT 2008


Yeah, that is basically what I do right now. I don't use bitmapViewport
though, what's the advantage of that?

Thanks for the replies =)


Steve D-7 wrote:
> 
> Material::drawTriangle sounds like an internal method used in the
> rendering
> process.
> 
> Rendering once to grab the output from a bitmapViewport is probably the
> best
> solution.  You can have as many viewports and scenes as memory allows.
> Create a single-use bitmapviewport that is never added to the stage,
> render
> your desired output objects to it via its own scene if necessary.  Then
> grab
> the output from your one-time viewport, and dispose of the viewport.
> 
> It sounds complicated, but you can hide all of the functionality inside of
> one class, so that your main program remains clean.
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-drawTriangle--tp19575014p19586503.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list