Page 1 of 1
texture scale issue
Posted: Wed Nov 11, 2009 9:54 am
by CRAS
Hello JD,
I still have problems with SW2009/plugin´s (V. 2.0.1.0) texture scale function.
While the GUI shows a perfect scale and rotation, the rendering is completely "out of control".
Is that a known bug or do I miss here something?
Many thanks in advance
AL
(I don´t know how to add images to the message so I sent an email with the different files and images)
Re: texture scale issue
Posted: Wed Nov 11, 2009 1:13 pm
by JDHill
Hi AL,
Thanks for sending the files, but there is only an MXI file in the .rar - if you could send SolidWorks files, I could try to diagnose the situation. I'm not really sure what I'm looking at in the screenshots; I can't tell if this is a part, an assembly, whether you are using plugin materials or SolidWorks materials, etc.
Also, the current version of the plugin is 2.0.5, so I'm not sure if it might also help to switch over to that.
Thanks,
JD
Re: texture scale issue
Posted: Wed Nov 11, 2009 2:38 pm
by CRAS
Hello JD,
well that was my mistake. I already sent you the .spt - File.
As well I will try the new release of the plugin.
Many thanks
AL
Re: texture scale issue
Posted: Wed Nov 11, 2009 5:06 pm
by JDHill
It is an old problem - SW reports wrong sizes for sub-bodies in multi-body parts, and this causes plugin's calculation of texture size per-face/feature/body to be wrong. There really is no workaround if you need to model things this way; I would just suggest only setting up and rendering after all geometry has been added to the model. You will have to do a test render and adjust texture scale accordingly, and if you do this before all the geometry has been added, you will have to do it over each time you add more, because the additional geometry will cause the calculation to become different (and differently wrong) once again.
Re: texture scale issue
Posted: Fri Nov 13, 2009 12:25 pm
by yolk
are the guys at solidworks listening to you guys? do they provide you help? or are you basically on your own with the mess they created with their texturing system?
Re: texture scale issue
Posted: Fri Nov 13, 2009 4:21 pm
by JDHill
If I think there is a chance that an issue I have would, or even could, be addressed, then I will raise it. And then I'd expect it to be quite some time before it filtered through everywhere it has to before I got an answer back, one way or the other, as to if/when it would be addressed. I do that much more with a small company like McNeel, where there are something on the order of ten core developers, and even then, you're talking on the order of months before any changes can be incorporated.
Re: texture scale issue
Posted: Fri Nov 13, 2009 9:22 pm
by CRAS
Hello JD,
first of all many thanks for your quick reply.
There is still one thing I don´t understand about scale, etc.:
a) The parameters for scale and rotation just work fine in the GUI (SW2009). I didn´t encounter any problems there (like in the past).
As soon as I start the rendering process, maxwell seems to loose the scale.
b) I tried to seperate the different buildings and add them into an assembly file --> still same result
c) I didn´t manasge to change (or even influence) the texture scale in a logical way to get the correct result.
Re: texture scale issue
Posted: Fri Nov 13, 2009 10:26 pm
by CRAS
JD,
I made several tests with the scene in SW and MXS with following result:
- The scene shows the same (wrong) texture scale in MXS like I get when rendering out of SW
- If I then adjust the texture scale in MXS (240 instead of 15) the material texture looks o.k.
- If I set these texture scale in SW, the GUI shows a wrong scale
For me it seem´s that the plugin has a bug when mapping textures on faces (GUI) ?
Re: texture scale issue
Posted: Sat Nov 14, 2009 3:16 am
by JDHill
So you know, I'm not ignoring you, I'm just doing some testing in the code...
Re: texture scale issue
Posted: Mon Nov 16, 2009 4:50 pm
by JDHill
FWIW, I've found somewhat of a workaround here, but I don't yet have it working in all cases, and it is excruciatingly slow. I'll keep you posted here with progress, and maybe I can send you a testing version when I've got it working so you can confirm whether it takes care of the issue.
Re: texture scale issue
Posted: Tue Nov 17, 2009 6:01 pm
by CRAS
Many thanks JD.
BTW I made another test with the model (single building) in real scale. It worked there correctly.
I´ll test the same scene now in real scale to see what will happen.
AL