Hi Sajjad,

Sajjadul Islam wrote:
> Hello,
> 
> I am at  the Geometry tutorial now
> 
> and there the quad has been designed from scratch to simulate water.
> 
> In  that process an empty material is created, but i didnt find anywhere
> later how that newly created material is added to  the geometry.
 >
...
>                       geo->setMaterial(mat);
                   here  ^^^^^^^^^^^^^^^^^^^^^^
> 
> N.B - i did some trial and error , stil gettig the segmentation fault.

Segmentation fault is the system's equivalent of 'something is wrong'. Without 
more information, it's pretty much impossible of knowing what it is.

You need to tell us a little more about where it breaks and how. Take a look at

http://docs.cs.byu.edu/docs/ddd/index.php or
http://www.cs.tau.ac.il/faq/ddd/ddd.html

to get an idea on how to use the graphical debugger ddd to pinpoint where the 
program crashes and why.

Hope it helps

        Dirk

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to