View Full Version : On the fly object creation
mart
November 2nd, 2010, 10:46
Hi,
I'm new to RS. Is it possible to create text on the fly within a scene? Does anyone have any experience on this?
ak
November 3rd, 2010, 14:28
Is it possible to create text on the fly within a scene?
What do you mean with text? Are you talking about geometry in the shape of text? If yes: there is no RealityServer API function for that, but it is possible to implement it as an RealityServer application feature or as plugin extension of course.
Best regards.
mart
November 4th, 2010, 21:46
OK, thanks for this answer. I don't think it is an option to build a plugin at this point. I'm exporing the possibilities of RS to use it with a designer app, and I need some answer before we can decide how to use RS on this.
Is it possible to work with dynamically created textures? What I would like to do is create a color and bump map as output from the designer tool, upload them to RS and then produce a render using those maps. Is such thing possible?
ak
November 8th, 2010, 12:35
Is it possible to work with dynamically created textures? What I would like to do is create a color and bump map as output from the designer tool, upload them to RS and then produce a render using those maps. Is such thing possible?
The expression dynamically created textures makes the aim a bit unclear in this context. In the following you can see a brief formal specification, that would be supported by RealityServer and might fulfill your expectations:
1. Run a 'design application XY'
2. Run a RealityServer, that serves application XY
3. Create color or bump map with application XY
4. Save these maps as standard image files (e.g. .jpg or .dds) locally via XY
5. Upload these image files to RealityServer
6. Make sure that a 3d scene has been loaded by RealityServer (somewhere between 2-5)
5. Assign the uploaded image files to a textured object, where it is a.o. possible to
-- overwrite the image file, that is assigned to a texture
-- create a new texture and assign it to an existing texture shader
-- create a new texture shader, that uses the up loaded maps and assign this new shader to an instance
-- etc.
So you can call the whole process dynamically but strictly speaking the image in not dynamical, because it has been saved to a file before uploaded to RealityServer.
Does this clarify a bit?
Best regards.
mart
November 8th, 2010, 12:39
This is exactly what I am looking for.
Thanks for your explanation.
ak
November 8th, 2010, 12:44
This is exactly what I am looking for.
Great. In this case the answer is: Yes, dynamically created textures are supported by RealityServer.
Thanks for your explanation.
You are very welcome.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.