Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
checking current 3dRenderer

checking current 3dRenderer

2003-12-05       - By Thomas Higgins

 Back
Reply:     1     2     3     4     5     6  

Carl,

> Is there a way to check what the current 3d renderer is while in a
> projector? I've tried the following:
>
>   member("theRenderer").text = the active3dRenderer
>
> and
>
>   member("theRenderer").text = getRendererServices().renderer
>
> ...and I keep getting an error.

The error is quite likely because you are setting the text of a member to a
_symbol_ value. Try the right side of your equations in the Message Window, you
should see symbol values output, you need to convert these to strings:

member("theRenderer").text = string(the active3dRenderer)

or

member("theRenderer").text = string(getRendererServices().renderer)

But this shouldn't be projector specific, you should get an error in authoring
as well. Are you sure the above work in authoring? I get a "string expected"
script error every time I try your code.

Cheers,
Tom Higgins
Product Specialist - Director Team
Macromedia

FEBO, de lekkerste!

...
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Dir3d-l mailing list
Dir3d-l@(protected)
http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l