Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 16 Jan 2011
Offline Last Active Yesterday, 02:34 PM

Posts I've Made

In Topic: Coding-Style Poll

15 October 2016 - 10:15 AM

@L. Spiro (how do i reference him)? Have you decided something already?

In Topic: Why is visual studio giving me a bunch of false errors?

13 October 2016 - 11:18 AM

I sometimes(1-2 a year) that error occurs to me when there isn't a matching '}' to '{' it's pretty hard to hunt these down(especially if it is in a header).

If that's the case, I do a rebuild and try to figure out if the error is in a header or cpp. If it is in cpp it;s pretty easy just #if 0 half of the code and bisect it.
if it is in header I compile cpps one by one until i find a broken one and I start to exclude headers. Once the broken header is located I bisect the header for that error.

In Topic: Visualize points as spheres

08 October 2016 - 01:33 PM

Well if you want spheres you could use instancing and draw those sphere in big chunks(or in one chunk depends on your case).
Otherwise if it is suitable for you you could draw them as points. Both OpenGL and D3D support drawing directly points on the screen with customizable size.


@work we've simulate particles and in order to draw a preview of those particle we just draw them as points(GL_POINTS or D3D11_PRIMITIVE_TOPOLOGY_POINTLIST) and give the user an integer that specifies the size of those points. It works like a charm.

In Topic: PBR Sanity Check (Black Metal)

06 October 2016 - 02:19 AM


"PBR Sanity Check (Black Metal)"


In Topic: Rotation About An Axis

04 October 2016 - 03:27 AM

I tried that also i.e set the translation to vector3f(0,0,0) but no success  it is revolving and rotating , can you suggest if any code changes are required i not getting the desried result

Are you sure, maybe double check this. because translating a point by (0,0,0) is equal to not translating at all.


Also I'm not familiar with the API that you are using, but are you sure that you are using it correctly and applying the transformations in correct order.