Results 1 to 5 of 5

Thread: Issues with "Pixels per Polygon" render SubDiv

  1. #1

    Issues with "Pixels per Polygon" render SubDiv

    Hello all,

    Hope you're all well. I have a problem with the "Pixels per Polygon" subdivision in LightWave 9.6 (win).

    Basically - it doens't seem to work; or at least work very well.

    I believe first and foremost that it only works with Catmull-Clark subdivisions; not with the old SubPatch mode.

    However, it doesn't seem to work very efficiently. I have been trying to use it to do landscapes with a very high level of subdivision; e.g. driving the "Pixels per Polygon" value down to 1. However it seems to create VAST numbers of polygons in this mode; with the landscape in the far distance being subdivided far too much, and areas outside the field of view of the camera being subdivided. Pretty soon you run into the memory limit and it crashes.

    It seems that in fact the "Pixels per Polygon" value set to like 5 or 6 gives you almost 1 polygon per pixel. Certainly, setting the value to 5 gives you a totally solid mesh if you view it with wireframes (set via the surface panel).

    Has anyone had any success with this technique? Right now it seems basically it doesn't work.



  2. #2
    TrueArt Support
    Join Date
    Feb 2003
    I have made one traditional sub-patch 1x1 meter size. Then saved object and send to Layout. Used Pixels Per Polygon 1.0, and when it was far far from camera, it was generating 32 polygons in Render Stats, then moved closer to camera, generated 2,000 polys, then very close- 4,000 polys or so.

    So, from my experience, tested 3 minutes ago, it's working with Sub-Patches, and is respecting distance to camera no problem..
    Mesh that's outside of field of view, obviously must be sub-divided too, because it might be seen from reflective surfaces.

  3. #3
    Same here, it caused massive system hangup so I gave it up.
    I tried William's weight map driven subdivision technique with better results but still it's quite diffiicult to handle. Have to check CC subdivs though.

  4. #4
    LightWave documentation BeeVee's Avatar
    Join Date
    Feb 2003
    You can use a gradient with Distance to Camera to make sure the subdivision isn't global to the object, but obviously it doesn't show in Layout. Here's a 10-second example (using Render Wireframe mode). The clipboard image png shows the gradient editor. There are still issues in that the original geometry needs to be subdivided to "guide" the further APS subdivision, so my original plane was 3x11 polys, but then I just used standard subpatches.

    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	APS.png 
Views:	185 
Size:	18.4 KB 
ID:	77885   Click image for larger version. 

Name:	Clipboard Image.png 
Views:	164 
Size:	31.2 KB 
ID:	77886  
    Ben Vost - NewTek LightWave 3D development
    LightWave 3D Trial Edition
    AMD Threadripper 1950X, Windows 10 Pro 64-bit, 32GB RAM, nVidia GeForce GTX 1050Ti (4GB and 768 CUDA cores) and GTX 1080 (8GB and 2560 CUDA cores) driver version 430.86
    AMD FX8350 4.2 GHz, Windows 7 SP1 Home Premium 64-bit, 16GB RAM, nVidia GeForce GTX 1050Ti (416.34, 4GB and 768 CUDA cores)
    Dell Server, Windows 10 Pro, Intel Xeon E3-1220 @3.10 GHz, 8 GB RAM, Quadro K620
    Laptop with Intel i7, nVidia Quadro 2000Mw/ 2GB (377.83 and 192 CUDA cores), Windows 10 Professional 64-bit, 8GB RAM
    Mac Mini 2.26 GHz Core 2 Duo, 4 GB RAM, 10.10.3

  5. #5
    NewTek Developer jameswillmott's Avatar
    Join Date
    Dec 2004
    Gold Coast
    You have to be careful that you have enough geometry to 'step' through progressive subdivisions to get what you want. For example, two adjacent cage polygons can't be subdivided to more than one level apart, ie one can be subdivided twice, the other can be subdivided only once or four times.
    LightWave3D training, assets, news and discussion at
    My opinions are my own and do not represent the opinions of any other entity, Liberty3D is not officially endorsed by NewTek.


Posting Permissions

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