[bug] Shaders parameters values and regional settings

sebarnolds

11-12-2006 13:25:29

Hi.

I'm using oFusion CE with 3D Studio Max 8 SP1. When I define an oFusion material which uses shaders there is a problem when I set the value of the parameters. For example, if I use the Ocean_sky_vs shader, I can define the view_proj_matrix and the view_position parameters which are resp. a matrix and a vector (x,y,z,w). The GUI allows me to specify float values, displayed following my Windows regional settings (eg. 3/2 is displayed as "1,5" as I'm from Belgium, instead of "1.5" for English regional settings). It seems that oFusion fails to retrieve the correct value and tries to read it as if it were specified with English regional settings. This obviously generate a problem : all the float values are truncated to integer ones. I guess there is another way for you to retrieve the values of theses GUI controls instead of reading a string and parsing it.

Any advise / remarks about that bug ?

Thanks,
Sebastien

sebarnolds

15-12-2006 11:30:25

Any remark / news / idea about this bug ? Maybe I should send a support ticket ?

Sebastien

Lioric

20-12-2006 00:46:40

Yes, send it via support ticket to review it immediately

sebarnolds

26-12-2006 11:42:00

I've done it last week. No news so far...

Lioric

26-12-2006 16:48:53

Its kind of a not regular week because of the holidays, it will be reviewed in the next hours

bigbluesoul

15-02-2007 19:27:27

I have exactly the same problem, any news so far? has this bug been fixed or is there any way to fix it? i'd really apreciate any help so it makes quite impossible working with shaders unless i add the parameters i want as the default ones, thanks a lot!!

Lioric

15-02-2007 21:03:28

Yes, this has been fixed, and for CE users, it will be in the next update

bigbluesoul

17-02-2007 10:56:25

good to know
do you have any clue when the next version will be released? :wink:

thx