General discussion

Loading textures dynamically

I'm applying textures to a model dynamically using .jpg files from folder. It is working fine, when publishing. But it is not working in webserver.Can anyone help me.

I give the sample coding.

a="@/dswmedia/images/" & counter &".jpg"

importFileInto member b, a


member("sofa1").shader("sofa1").texture = newtext

Thanks in Advance.


Discussion is locked

Reply to: Loading textures dynamically
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: Loading textures dynamically
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.

CNET Forums

Forum Info