Jump to content

hello all,

 

For a school project i am creating a 3D object viewer using OpenGL, what features would you consider to be key for such a project? Any responses would be appreciated.

 

-matty 

If you judge a fish based on its ability to climb trees it will go its whole life thinking its a failure.

Link to comment
https://linustechtips.com/topic/1189972-3d-rendering-project/
Share on other sites

Link to post
Share on other sites

- Being able to rotate the model would be nice 

- A  panel with some info on the 3D model (filename, location, amount of vetexes/polygons, size, etc.)

- buttons to quickly look at the object from the top/bottom/left/right would be nice to have

- Turn on/off a light

- Render modes which show the edges of the vertexes/polygons

- 'Proxy mode' (basically a way to render a simplification/low 'res' version of the file to render quickly).

 

Those are some of the things I would want to have in a 3D model viewer. Probably ranged from 'easily added/necessary features' to 'cool to have/great to show off your prowess as a programmer'.

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
https://linustechtips.com/topic/1189972-3d-rendering-project/#findComment-13568188
Share on other sites

Link to post
Share on other sites

That's a large project for school work. Just getting the polygons display properly is a huge task. If a triangle is half behind another one you need to only draw it partially and the Z order won't help you.

 

That being said the easier to implement and can be tweaked alot is the post processing part. Anything, anti-alias, super scale, smoothing, bloom, color temps, sharpen, blur.

Link to comment
https://linustechtips.com/topic/1189972-3d-rendering-project/#findComment-13573920
Share on other sites

Link to post
Share on other sites

1 hour ago, Franck said:

You can have a triangle with a larger Z buffer than another triangle that pass over a lower Z buffer one.

I don't quite understand what do you mean. The depth buffer has the same dimensions as the rendered image, there is a depth value for each pixel, but you don't even have to deal with it just enable GL_DEPTH_TEST and OpenGL will take care of it.

When 2 triangle is on top of each other (or really close) that's can cause stitching, but it's more like a modelling issue.

 

 

ಠ_ಠ

Link to comment
https://linustechtips.com/topic/1189972-3d-rendering-project/#findComment-13577354
Share on other sites

Link to post
Share on other sites

21 hours ago, DevBlox said:

If it'll build on Linux, I'd sure have a try.

probably not cos id be using a few external libraries for it which im not sure if they will

If you judge a fish based on its ability to climb trees it will go its whole life thinking its a failure.

Link to comment
https://linustechtips.com/topic/1189972-3d-rendering-project/#findComment-13600128
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×