coin3d / coin

Coin3D core library
BSD 3-Clause "New" or "Revised" License
271 stars 105 forks source link

Coin3D cann't apply an image to a scene as background #59

Closed VolkerEnderlein closed 10 years ago

VolkerEnderlein commented 10 years ago

Original report by zcmacbeth (Bitbucket: zcmacbeth, GitHub: zcmacbeth).


Hello, I find that Open Inventor has nodes(SoImageBackground/SoGradientBackground) to apply an image to a scene as the background, but Coin3D don't. Is there nodes of Coin3D to fix it or any method to solve it? Thanks.

VolkerEnderlein commented 10 years ago

Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).


Have you looked at the SoVRMLBackground node? This should do what you want. Documentation is here.

Roy

VolkerEnderlein commented 10 years ago

Original comment by zcmacbeth (Bitbucket: zcmacbeth, GitHub: zcmacbeth).


Thank you for your reply. I find nodes are very similar between the VRMLnodes file and nodes file. Is there any conflict when i use the VRMLnodes and nodes in the same procedure? Like SoVRMLMaterial and SoMaterial.

2014-07-09

VolkerEnderlein commented 10 years ago

Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).


There is no conflict. However, to use VRML nodes you will, of course, have to use the correct heading line, e.g. #VRML V2.0 utf8.

Roy

VolkerEnderlein commented 10 years ago

Original comment by zcmacbeth (Bitbucket: zcmacbeth, GitHub: zcmacbeth).


I will learn some knowledge about VRML, thanks a lot for your help.

2014-07-14

VolkerEnderlein commented 10 years ago

Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).


If you have no objections, I will close this issue now.

Roy

VolkerEnderlein commented 10 years ago

Original comment by zcmacbeth (Bitbucket: zcmacbeth, GitHub: zcmacbeth).


thx, no problem.

2014-07-15

chengzhust

VolkerEnderlein commented 10 years ago

Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).


Not a problem with Coin code.