Results 1 to 3 of 3

Thread: Reduce polygon

  1. #1

    Reduce polygon

    hi all
    I want to reduce polygons of my model
    is that possible in glscne ?

    look at my example :
    i want to do this condition :
    if camera is nearness from my model then
    polygons of my model:= normal ;

    if camera is far from my model then
    polygons of my model:= reduce ;

    Please help me

  2. #2
    PGDCE Developer de_jean_7777's Avatar
    Join Date
    Nov 2006
    Location
    Bosnia and Herzegovina (Herzegovina)
    Posts
    287

    Re: Reduce polygon

    This is done with level of detail (LOD). You'll need to have two models already prepared, one with high detail, and other with low detail, each of which is drawn depending on the distance. To reduce the number of polygons of a model in your program at rendering time would be a complex job (and often an ugly one). There is no way for glscene to reduce the number of polygons of an existing model, so therefore you'll need to have as many models as level of details you need (e.g. you'll need three models for far, medium and near levels, and in your case two for near and far).
    Existence is pain

  3. #3

    Re: Reduce polygon

    thank you de_jean_7777 I understood

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •