ParallelGraphics Forums
Authoring Tools
You are here: [Forums]::[Authoring Tools]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
Try RobinZone!
email:  password:
  Authoring Tools

Subject: Re: Changing textures via Automation
Sender: Mikhail 11.02.03 02:19
>Hi! I'm trying to change the exposed


>field 'url' via automation in HTML in


>order to be able to click on a button in


>HTML and have the texture of an object


>change. I have tried using this:


>


>CortonaX.Engine.Nodes


>("different_mat").Fields


>("url")="something.jpg";


>


>but obviously I'm doing something wrong


>and all I get is errors. Would someone


>have any idea how this can be done? Is


>the syntax wrong? Can it be done?




You need to use the VRMLField interface
because the url field is MFString.




Regards,


Mikhail


 


Changing textures via Automation / skunx@lycos.co.uk / 9.02.03 16:59
     Re: Changing textures via Automation / Mikhail / 11.02.03 02:19

Messages in thread: 2


© 1998-2007 ParallelGraphics. All rights reserved. Terms of use.