Results 1 to 4 of 4

Thread: Aliasing Effect In Point Model

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2011
    Posts
    2

    Aliasing Effect In Point Model

    Hi,

    When I render my 3D model, which only comprises individual points rather than polygons, I get a strange effect when rotated/zoomed at certain levels. The effect is hopefully viewable in the attached file showing a sample model of a scanned spray can.

    There is actually an even distribution of points across the entire model, but some aliasing effect is causing large "holes" in the view, such as the stripes that are visible as white horizontal-ish stripes above the "400ml" label at the bottom of the can.

    I am using third party 3D renderer, which I know utilises OpenGL for its rendering, but I unfortunately do not have the code. I was hoping that somebody would shout "oh yes, that's the ${professorName} effect" and tell me which flag to enable so that I could then pass that information on to the developers of the third party renderer. Any clues?

    Thanks
    LordWilmore

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: Aliasing Effect In Point Model

    I would say just increase point size until the effect disappear.
    Or use MSAA.

    You have to know that above solutions will only help in certain cases, in general there is no clean way to solve the sampling problem (short of super brute force like analytic pyramid tracing that you probably don't want).

  3. #3
    Junior Member Newbie
    Join Date
    Nov 2011
    Posts
    2

    Re: Aliasing Effect In Point Model

    Fair enough. That's probably why they haven't implemented anything then!

    Thanks for the response.
    Lord Wilmore

  4. #4
    Senior Member Regular Contributor remdul's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands
    Posts
    346

    Re: Aliasing Effect In Point Model

    Depending on how your 'third party 3D renderer' is implemented in you application, you might have some luck placing a "glPointSize" call in there somewhere, but that's unlikely to give you much control over quality nor completely solve your problem.

    As ZbuffeR indicated, rendering point clouds as solids can be complex. Usually it involves converting the data to triangle soup, although there may be some voxel-like solutions (which will also become very involving if you want good performance). However, if you're looking for another shortcut, can probably find some useful open-source libraries out there, google is your comrade.

Similar Threads

  1. Texture or Point Rendering to create effect in drawing app.
    By abaababb in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-02-2017, 06:20 AM
  2. Cel-Shading effect on BMP model textures?
    By neo187 in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 11-22-2011, 02:09 AM
  3. how to get crome effect on a model
    By shinde_abhishek in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-14-2007, 12:54 PM
  4. Rotating around a point in a model
    By gerire in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-22-2002, 01:00 PM
  5. Replies: 0
    Last Post: 10-30-2001, 09:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean