Jump to content
  • Advertisement
Sign in to follow this  
saravanan_nanothink

Carve Library - Rendering in DirectX Problem

This topic is 2210 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi

I am using Carve library for my experiment project in DirectX, and the results are coming good, but when i am rendering into my DirectX code, the output mesh seems not looking good (the visual only), is it because of my lighting?, i am using directional light with phong shade (a simple light), when i export the output (.obj format), and opens it in 3D Studio Max, in there also it is looking not good, but with "Object Smooth Groups" Option Enabled in 3ds max Import Dialog, then it is rendered good. And in "Carve Viewer" also, the results looking good, what do i do?, is there a problem with my lighting?, or is there a option in carve library itself?, or any "Smoothing functions" are needed before rendering it? .

Any Suggestions?

Thanks.

I attached the pictures


Picture 1: Rendered in "3D Studio Max 7" with "Object Smooth Groups" Option Enabled in Import Dialog.
Picture 2: rendering in My DirectX Code Edited by sara_DE

Share this post


Link to post
Share on other sites
Advertisement
It seems normals are different in your DirectX application.
If there is such option, you need to change smoothing angle (or hard edge angle) when exporting.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!