Thread

Assign VRay material crash

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

Assign VRay material crash // Bugs

1  |  

Post by Wigand // Jul 11, 2007, 9:46am

Wigand
Total Posts: 462
pic
Only assigning a material to an object -> crash

Post by Wigand // Jul 14, 2007, 6:38am

Wigand
Total Posts: 462
pic
It would be nice, if I could read something like:


Ok we, the developers, read your message and took

the dump file. We will look for the bug and try to solve the problem


I do not like to be disregarded :mad:

Post by Jack Edwards // Jul 14, 2007, 1:17pm

Jack Edwards
Total Posts: 4062
pic
Wigand, does it do this 100%, can you post steps to duplicate?


-Jack.

Post by Wigand // Jul 14, 2007, 9:03pm

Wigand
Total Posts: 462
pic
Thank you Jack for responsing.

I am sorry, 3 days are gone, therefore the scene is already discarded.

What I can say is this:


I created an object in Silo

It had very much vertices.

I used LUUV to import it as *.obj

I assigned a vray material.

Crash.


I do not know what is inside of the dump file.

So I do not know what else the developers need.

Not everybody likes to post the scene or object

to the forum.

Post by Jack Edwards // Jul 14, 2007, 9:19pm

Jack Edwards
Total Posts: 4062
pic
That's helpful info though Wigand.


My guess is that it could be a bridge issue. Or a memory issue if the geometry was high density...


Hopefully the devs will come up with something.


-Jack.

Post by Wigand // Jul 17, 2007, 9:10am

Wigand
Total Posts: 462
pic
modelside

luuv import (#ver. 16898 #fac. 16896)

assign spherical uv projection

workspace

simplify mesh

open library

assign orange glas

crash

Post by weaveribm // Jul 17, 2007, 9:48am

weaveribm
Total Posts: 592
Amazing I can confirm this I just had exactly this crash under Vista, dragging a Vray texture on to an object and an application hang and Vista needing to close TS7.51 down - no crash report offered sorry support

I immediately loaded XP and ran the same scene and dragged the Vray material and- a pause of almost 30 seconds and then all was ok and no more problems

Peter

Post by rj0 // Jul 17, 2007, 10:00am

rj0
Total Posts: 167
Wigand,

Took a quick look at your Pilz model. Certainly no explanation there. The geometry looks excellent, no overlaps or artifacts that I could see (many 3D programs will crash in dealing with bad geometry), so the issue seems firmly in how trueSpace handled it. Best of luck.

rj

PS. Just read weaveribm's post. Vista? From what I've read, very few applications are stable on Vista, with both M$ and the application developers still scurrying to improve things. (I am certainly in no hurry to even contemplate getting Vista, maybe in a year or two when the stability is improved and I have no other options, and then probably only on a new PC pre-installed -).

Post by Emma // Jul 17, 2007, 10:57am

Emma
Total Posts: 344
pic
Tag Wigand,

this is a bit mysterious object you got there, wonder if there is a reference to the other error where parva said something regarding the UV map


It was impossible to assign a material with a texture to this object. If I took for example the green leaves from the VRay mat lib the mushroom became completely silver, no green or sign of the leaves. Same by the way for DX material, colors yes, but textures never were shown.


Managed though to assign the orange glass without a crash after working a bit with it, let's say I made it a bit "passend".

Attached the object now with orange glass, please try it if it works I'll reply what I did, if not the real experts have to give their coments;)

Post by rj0 // Jul 17, 2007, 4:59pm

rj0
Total Posts: 167
It is possible the polygon normals are just coming in inverted/reversed?

rj

Post by Jack Edwards // Jul 17, 2007, 5:51pm

Jack Edwards
Total Posts: 4062
pic
I wonder if this is an issue with drag'n'drop. Do you get the same problem if you assign the material from the ME?


-Jack.

Post by weaveribm // Jul 17, 2007, 10:58pm

weaveribm
Total Posts: 592
This happened again last night under XP Home

But at the end of a long successful animation render so not too annoying

Thanks Jack will try the ME way if I can find out how to do that, drag and drop yes a Windows function so could even be graphics card drivers... perhaps we should add our drivers' info to our sigs that might help Caligari support - ta for noting the possible workaround mate

Peter

Post by Jack Edwards // Jul 17, 2007, 11:58pm

Jack Edwards
Total Posts: 4062
pic
Nah the drag and drop code is part of TS but it's likely handled seperately from the ME implementation so it's possible that there could be a bug in one without being a bug in the other.


The materials in the vray material library are just presets using the built in shaders. You should be able to make any of those materials by using the built in shaders and textures via the ME.


-Jack.

Post by weaveribm // Jul 18, 2007, 1:44am

weaveribm
Total Posts: 592
the drag and drop code is part of TS

Are you sure Jack? I'm reasonably confident :) that TS windows are Windows windows. Or TS is not an integrated application, this is why Ctrl+c and the other standard Windows functions work in there

Best always to use an operating system's basic functions than to write code that bypasses the standard Windows functions. It takes more time, is less portable, can be a maverick and so on. Can't see 7.51 being other than a forward-looking application which means an integrated application under Windows

Of course if TS code bypasses standard Windows functions then that would explain why dropping an icon on to a window crashes the application... :)

Peter

Post by Jack Edwards // Jul 18, 2007, 3:46am

Jack Edwards
Total Posts: 4062
pic
Yup. Buttons are windows controls for example and the programmer codes what happens when they are clicked. It's the same way with drag and drop. Windows just passes the information about the dropped object, it's up to the app on how that's processed.

Windows is just an event and graphical system, the programmer has to implement window functionality. Even handling CTRL-C as you mention has to be coded by the programmer. There are libraries like MFC, .NET etc., that provide standardized components for the programmer to use and save him work though.

-Jack.

Post by Wigand // Jul 18, 2007, 5:05am

Wigand
Total Posts: 462
pic
I wonder if this is an issue with drag'n'drop. Do you get the same problem if you assign the material from the ME?


-Jack.



Yes I get the same problem.

It is important to simplify the mesh and then assign the material.

Both , drag and drop and ME bring crashes.


I assigned the material to a TS-Sphere then used the pipette to get

the material into the ME then drag and drop to the object, crash.

And the same by assigning the material direct from the ME to

the simplified object.

Post by Jack Edwards // Jul 18, 2007, 7:13am

Jack Edwards
Total Posts: 4062
pic
Same result with clicking on the Funnel (assign material) icon on the material editor as well?

There's also the posibility that this could be a DX shader issue as well since a DX shader is created to mimic the Vray material for the realtime display.

-Jack.

Post by Wigand // Jul 18, 2007, 10:50am

Wigand
Total Posts: 462
pic
Same result with clicking on the Funnel (assign material) icon on the material editor as well?


There's also the posibility that this could be a DX shader issue as well since a DX shader is created to mimic the Vray material for the realtime display.


-Jack.


Same result. :(

Post by Emma // Jul 18, 2007, 12:03pm

Emma
Total Posts: 344
pic
Just a remarc, in the sample I provided above I used drag and drop with positiv effect, so should that really be the only point to focus on ?

Post by Wigand // Jul 18, 2007, 9:11pm

Wigand
Total Posts: 462
pic
to

the simplified object.


This step is the important step. You have to simplify the object

before assigning the material, to get the crash.

Post by Cayenne // Jul 18, 2007, 9:39pm

Cayenne
Total Posts: 144
pic
Hi Wigand, thanks for these reports , I had reported a similar issue to this a few weeks ago, but I think your one is related to the same problem.


I'm sorry I missed your original post here , its easy for them to get buried here and overlooked .

You could send your dumps and a description directly to support and they will be sent along to the respective developers in a timely fashion .


the forums are good for things like this but the reports sometimes although very infrequently though get missed and are not picked up by someone and sent to the beta for the developers to see , or they could be reported already and an answer or update gets overlooked and isnt posted back to the original threads here.


be assured this is being looked into.

Post by weaveribm // Jul 19, 2007, 12:17am

weaveribm
Total Posts: 592
You have to simplify the object before assigning the material, to get the crash.

Not in my case no the object was not simplified first.

Sorry if I'm missing your point there Wigand but to pass back info to Caligari support, maybe our crashes are not related to the same function or something

Peter
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn