Question

I am trying to use a 3d Studio Max model with x3dom. I did not create the model nor do I know much about 3d rendering/animation. The image on the left shows the rending of the model from 3d Studio Max. The image on the right shows the same model inside of x3dom.

link to image

I started off with a .3ds, a .max, and a .wrl file. I converted all three of these to .x3d. Each one gave the same results.

I am new to x3dom, but it seems pretty straightforward as far as displaying pre-made models. Is there some settings that I need to implement to get the x3dom to look as smooth as the original model? I have looked at other samples on the x3dom web site and they seem to all render properly/smoothly.

Any advice is greatly appreciated!

Was it helpful?

Solution

Problem is that mesh does not contain normal vectors and you have to say x3dom to calculate them. Check Online normal creation, that might help..

OTHER TIPS

You should also check the creaseAngle of the geometries: something like 3.14 would be good whereas the default 0 would render blocky like on your screenshot.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top