User posts David Duperron
26 February 2015 20:17
There must be a way to store the id of the latest loaded data somewhere (the returns of the "load" function that I used by clicking on the "load additional content" button?), but I am really not expert enough in javascript to sort it out…
David Duperron
STAT Marine - www.stat-marine.com
STAT Marine - www.stat-marine.com
26 February 2015 19:57
Hi,
I am trying to re-use the load/unload functions like in your cartoon interior example, in order to load/unload additional information into my Scene (like text with arrows… dimensions, etc… this loaded scene may contain several Objects).
I have coded the load button and function and it works as expected, but I have problems with the unload function…
How do I get the correct id for the objects of the latest .json file I have loaded?? This id is a number as explained in the API, and I don't know how to get theses… Do I have to unload every single Object that is loaded as part of this .json file? can I unload all of them at once, keeping only the objets from the startup file?
Thanks for your help!
David
I am trying to re-use the load/unload functions like in your cartoon interior example, in order to load/unload additional information into my Scene (like text with arrows… dimensions, etc… this loaded scene may contain several Objects).
I have coded the load button and function and it works as expected, but I have problems with the unload function…
How do I get the correct id for the objects of the latest .json file I have loaded?? This id is a number as explained in the API, and I don't know how to get theses… Do I have to unload every single Object that is loaded as part of this .json file? can I unload all of them at once, keeping only the objets from the startup file?
Thanks for your help!
David
David Duperron
STAT Marine - www.stat-marine.com
STAT Marine - www.stat-marine.com
26 February 2015 13:03
Sorry for that! The thing that confused me was that my tries with the text+Billboard+Animation were working fine with the HTML export, and not with the .json + web app… I will be more careful next time!
David Duperron
STAT Marine - www.stat-marine.com
STAT Marine - www.stat-marine.com
26 February 2015 12:29
Ok, my mistake… I did not update the engine files in my project architecture, and was trying to run .json from the latest engine version (15.02) with engine files from the previous (15.01)…
Now everything works as expected! Text Objects, Billboards, animations, everything runs smoothly!
Thanks very much for your work!
David
Now everything works as expected! Text Objects, Billboards, animations, everything runs smoothly!
Thanks very much for your work!
David
David Duperron
STAT Marine - www.stat-marine.com
STAT Marine - www.stat-marine.com
25 February 2015 23:19
Hi,
I am struggling to get the desired effect:
I want to have a text object (not converted to mesh), with a billboard behavior, making it facing the camera at all time, and a scale animation (from 0.001 to 1 in 2 or 3 frames), triggered by a click on an interface button…
I manage to create my HTML button, make it call an animation trigger function, but I cannot have the billboard effect and the scale animation at the same time…
Maybe I do something wrong, or do I miss something?
Perhaps there is a simplier way to do it by controlling the visibility of the object on the scene? I cannot find a function for this in the API…
Thanks for your help!
I am struggling to get the desired effect:
I want to have a text object (not converted to mesh), with a billboard behavior, making it facing the camera at all time, and a scale animation (from 0.001 to 1 in 2 or 3 frames), triggered by a click on an interface button…
I manage to create my HTML button, make it call an animation trigger function, but I cannot have the billboard effect and the scale animation at the same time…
Maybe I do something wrong, or do I miss something?
Perhaps there is a simplier way to do it by controlling the visibility of the object on the scene? I cannot find a function for this in the API…
Thanks for your help!
David Duperron
STAT Marine - www.stat-marine.com
STAT Marine - www.stat-marine.com
12 February 2015 14:19
Hi,
I am really curious about something. We have developped a web app, which is quite heavy, and would need optimisation, but that I can still run in Ultra Quality without any problem on my MacBook Pro 15" equipped with a Nvidia GT750M with 2GB dedicated memory… (I have 16GB RAM)
On a similar PC, with the same graphic card, and even more dedicated memory (4GB), the same amount of RAM, I can only run the App in Low Resolution mode… I have upgraded the drivers to the latest available from Nvidia site, and we are running the App with Firefox on both machines…
What can cause such a difference? Is there something to do or to activate on the PCs to get better performances? (CUDA, anything?)
Thanks for your help!
David
I am really curious about something. We have developped a web app, which is quite heavy, and would need optimisation, but that I can still run in Ultra Quality without any problem on my MacBook Pro 15" equipped with a Nvidia GT750M with 2GB dedicated memory… (I have 16GB RAM)
On a similar PC, with the same graphic card, and even more dedicated memory (4GB), the same amount of RAM, I can only run the App in Low Resolution mode… I have upgraded the drivers to the latest available from Nvidia site, and we are running the App with Firefox on both machines…
What can cause such a difference? Is there something to do or to activate on the PCs to get better performances? (CUDA, anything?)
Thanks for your help!
David
David Duperron
STAT Marine - www.stat-marine.com
STAT Marine - www.stat-marine.com
12 February 2015 11:43
This really looks great! I really have to add this functionnality to our development… that will be a good exercice…
David Duperron
STAT Marine - www.stat-marine.com
STAT Marine - www.stat-marine.com
11 February 2015 19:18
Thanks Roman!
It seems to do the job… but it seems to interfere with the "pan" function of the camera… Now I will have to understand the js code in order to be able to use it in our application… that's the tricky part…
It seems to do the job… but it seems to interfere with the "pan" function of the camera… Now I will have to understand the js code in order to be able to use it in our application… that's the tricky part…
David Duperron
STAT Marine - www.stat-marine.com
STAT Marine - www.stat-marine.com
11 February 2015 10:55
Hi,
Is it possible to have an automatic camera transition (animation of Loc/Rot and target) between two camera positions?
It would be great to have this functionality to jump from one place to another in a scene, with a nice transition effect. Right now the move is instantaneous.
Cheers
David
Is it possible to have an automatic camera transition (animation of Loc/Rot and target) between two camera positions?
It would be great to have this functionality to jump from one place to another in a scene, with a nice transition effect. Right now the move is instantaneous.
Cheers
David
David Duperron
STAT Marine - www.stat-marine.com
STAT Marine - www.stat-marine.com
09 February 2015 16:05
My bad… I just found the answer myself… by setting the Edge0 to 3 and the Edge1 to 5 I have got what I need… that's perfect. Once you get used to them, these material nodes are awesome!!
Cheers…
Cheers…
David Duperron
STAT Marine - www.stat-marine.com
STAT Marine - www.stat-marine.com