Moderators: e_phoenix13
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Hello,
for past few days I have been playing around dynamic .mtx file generation. Everything works ok, but there is one problem I can't get around. The VMP crashes when I hit the reload, back/forward buttons and open new window. It seems to crash (in IE all the time, in netscape after few minutes of stressing), when VMP is creating the object on page (ie. the background of the page would appear -- it's before the embed/object tags). I have tried files that are as basic as primitive (no textures, diffuse maps) and went on to bump maps, textures, etc. It only seems to happen when I use the dynamically generated .mtx, however, when I open the .mtx in browser, save the .mtx into file and debug it in scenebuilder, it seems to be fine/is exactly the same as it was generated by scenebuilder. I can reproduce this crash, so it's not just random thing.
Is anyone out there who did similar thing or could have any idea why this could happen?
thanks,
mayo
 
Posts: 14 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of viewpoint d-d
Posted Hide Post
Can you post a URL, if any of the
generated files are online, or
attach a zip to one of these
messages.

It's difficult to determine what's
wrong in this case only from a
description.

There is a known problem with bump
maps, so I'd try and avoid using
them while you're testing your
dynamic MTX generation.

-Derek
 
Posts: 793 | Location: Viewpoint, New York, New York | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
The url is
http://vp.dev.nfy.ca/
i't all kinda mess, but the files i have been working with lately are
http://vp.dev.nfy.ca/S=Cube/simple.mtx
http://vp.dev.nfy.ca/S=Cube/simple.html
the S= is translated by server into a varibale, which is inserted into the mtx later on. it can be any primitive that VMP suports.
there is also http://vp.dev.nfy.ca/S=Cube/simple.phps in case the .html would keep crashing your browser as it does mine. phps is server parsed file, so it would always come up with the html code Smile)

thanks for your help
mayo
 
Posts: 14 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
i also tried using broadcast key, but that's for different url Smile i could point you there if you wanted, would just require a bit of webserver modification Smile
 
Posts: 14 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
I should point out, that i chnaged a bit of code few mins ago. Netscape is ok now, loads each primitive nicely, problem comes with ie. I'm not sure, but this might be some bug in the activeX control?
 
Posts: 14 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of viewpoint d-d
Posted Hide Post
This is a very difficult thing
to help with. The files you
provided URL's for seem fine,
but then those files you don't
have problems with. After many
attempts to make it crash with
Win2k+IE5.5, it never failed.
Not having experience of
generating files from CGI script,
or any other automated way, I'm
afraid I have no constructive
suggestions for you.

-Derek
 
Posts: 793 | Location: Viewpoint, New York, New York | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Picture of viewpoint d-d
Posted Hide Post
Quite a lot of people are wanting
to generate XML from the JavaScript
to create instances of objects, or
to create/modify animators.

In the near future, it will be
possible to do this from JavaScript.

This should be taken into consideration
if you're working on generating XML
from CGI or any other method.

You will be able to put together a
string which makes up the XML tags
and send it to the plugin. Those
tags will then become part of the
scene.

Keep watching the Newsletter,
and in the JavaScript forum, for when
this feature is available,
it's hoped that it will be in the
next few weeks.

-Derek
 
Posts: 793 | Location: Viewpoint, New York, New York | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
thanks Derek,
i stil have to sing up for the newsletter Smile

and yes, that's my point. dynamically create the content of the scenes. i realize how much power such thing can have, since you can pass on the script arguments from url, therefore chnaging backgrounds, bump maps, textures, objects, primitives .. basically anything that is defined in the mtx file. none of the external .jpg files hav eto be coded into .mtx files either, so cretion of dyanic sites would get much easier.
 
Posts: 14 | Registered: January 24, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community