[GRASS-dev] [GRASS-user] NViz - problem in the visualization of 3D objects

On Thu, Feb 14, 2013 at 6:30 PM, Carla Rebelo <crrebelo@gmail.com> wrote:

Hi,

I have footprint buildings and the height value (type double
precision) of each footprint.

v.info -t map=buildings@
nodes=250
points=0
lines=0
boundaries=243
centroids=88
areas=89
islands=8
faces=0
kernels=0
primitives=331
map3d=1

After the v.extrude step "v.extrude --overwrite --verbose
input=buldings@ output=buildings3D hcolumn=Height type=area

v.info -t map=buildings3D@
nodes=646
points=0
lines=0
boundaries=0
centroids=0
areas=0
islands=0
faces=743
kernels=88
primitives=831
map3d=1

When I visualized the file 3D from NViz, I have seen some of the
buildings with a black filling (it's black inside or the top of
building is black) ....

Is it a problem of rendering? Or a problem with the topology?

Some of the buildings look ok? I've just tried a small example and it
works for me .

There could be a problem with the normal vectors of the faces.
Unfortunately I don't know much about the topology of kernels.

Regards,
Anna

Best regards,
CR
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

I have seen this problem - it is similar to issues with rendering the box point symbols and at some scales
even for spheres.
Carla, have you tried to move around the light - does it change anything?

Helena

Helena Mitasova
Associate Professor
Department of Marine, Earth, and Atmospheric Sciences
2800 Faucette Drive, Rm. 1125 Jordan Hall
North Carolina State University
Raleigh, NC 27695-8208
hmitaso@ncsu.edu

"All electronic mail messages in connection with State business which are sent to or received by this account are subject to the NC Public Records Law and may be disclosed to third parties.”

On Feb 14, 2013, at 1:15 PM, Anna Kratochvílová wrote:

On Thu, Feb 14, 2013 at 6:30 PM, Carla Rebelo <crrebelo@gmail.com> wrote:

Hi,

I have footprint buildings and the height value (type double
precision) of each footprint.

v.info -t map=buildings@
nodes=250
points=0
lines=0
boundaries=243
centroids=88
areas=89
islands=8
faces=0
kernels=0
primitives=331
map3d=1

After the v.extrude step "v.extrude --overwrite --verbose
input=buldings@ output=buildings3D hcolumn=Height type=area

v.info -t map=buildings3D@
nodes=646
points=0
lines=0
boundaries=0
centroids=0
areas=0
islands=0
faces=743
kernels=88
primitives=831
map3d=1

When I visualized the file 3D from NViz, I have seen some of the
buildings with a black filling (it's black inside or the top of
building is black) ....

Is it a problem of rendering? Or a problem with the topology?

Some of the buildings look ok? I've just tried a small example and it
works for me .

There could be a problem with the normal vectors of the faces.
Unfortunately I don't know much about the topology of kernels.

Regards,
Anna

Best regards,
CR
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev