boyamer
24-01-2009 10:23:28
Hi Xavier and Community,in my project the up coordinate direction in Z and if i'm not wrong Hydrax uses Y as up,its true?
I've tried to change coordinate system by changing y with z but the plane appears but the material on it is wrong?
Does this mean that i have to change also the Hydrax Materials?
I think i found in some lines that there is inverting the coordinate system,could you please help me?
Thanks,
and sorry for my english
Xavyiy
24-01-2009 10:55:00
At the moment only Y-up coordinate system is supported,
I'll add in the future support for Z-up coords. system, but at the moment geometry calculations and materials(depth calculation, etc) need y-up coord. system.
boyamer
24-01-2009 20:59:46
At the moment only Y-up coordinate system is supported,
I'll add in the future support for Z-up coords. system, but at the moment geometry calculations and materials(depth calculation, etc) need y-up coord. system.
so i just change coordinate system for SimpleGrid and ProjectedGrid but it seems that materials appears wrong,i think that i have to change material coordinate calculation,like in this line;
float2 ProjectionCoord = iUvProjection.xy / iUvProjection.w;\n" +
"float3 camToSurface = iPosition.xyz - uEyePosition;\n" +
"float additionalReflection=camToSurface.x*camToSurface.x+camToSurface.z*camToSurface.z;\n";
leminhduc
20-01-2010 13:14:48
Hi Xavyiy and friends,
I would like to ask if you have finished the code for Z-up coords ? I urgently need in for my project.
If it is still not available, please give me some guideline on how to do it, as I have been trying for the whole 2 weeks

without any success.
Thank you very much