H3D.org Forum Index Programming Issues
3D model reflecting light | Register To Post |
| Threaded | Oldest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| Markus | Posted on: 2012/5/22 10:51 |
Webmaster ![]() ![]() Joined: 2006/3/27 From: SenseGraphics Posts: 1900 |
Re: 3D model reflecting light That is the thing, the structure is slightly different now, so you can not replace External/bin and External/lib.
Those directories are named bin32 and lib32 now (and there are also bin64 and lib64 ). So the entire External directory should be removed, and be replaced by the one in the downloads section, then delete cmake cache and regenerate. Sorry for not making that clear earlier. Also remember to update your PATH environment variable. |
| adrian | Posted on: 2012/5/22 9:24 |
Quite a regular ![]() ![]() Joined: 2010/6/16 From: Constanta, Romania Posts: 31 |
Re: 3D model reflecting light Sorry, haven't explained properly.
Yes I replaced my External/bin and External/lib directories with the ones from the latest download link. The problem is when I try to make the buid files with cmake (H3DAPI, Viewer or Load), it doesn't find the lib files for glut, and I have to set it myself; but, inside the External/lib folder there is no glut32 library. Edit: Same problem when I run cmake for the Viewer. It can't find the wx... libraries, so I set them, most of them; I was able to find: wxWidgets_adv_LIBRARY, wxWidgets_base and so on. but I couldn't find the wxWidgets_popgridd_LIBRARY lib. Either I can't see it, or it isn't there. http://uploadimage.ro/images/20754716669589400479.png |
| Markus | Posted on: 2012/5/22 9:17 |
Webmaster ![]() ![]() Joined: 2006/3/27 From: SenseGraphics Posts: 1900 |
Re: 3D model reflecting light Did you clear cache, and also made sure that there are no External/lib and External/bin directories?
The new external replaces the old one, completely. It works fine with trunk. |
| adrian | Posted on: 2012/5/22 7:59 |
Quite a regular ![]() ![]() Joined: 2010/6/16 From: Constanta, Romania Posts: 31 |
Re: 3D model reflecting light I`m using Windows.
Old thread: http://www.h3dapi.org/modules/newbb/v ... php?topic_id=1559&forum=3 I will try the latest external; be back with results. Done that. Error inside cmake: which is the lib for: GLUT_LIBRARY and GLUT_glut_LIBRARY ? glut32.lib is not in the lib folder. And, the lib for wxWidgets_popgrid_LIBRARY ? Both are mentioned NOTFOUND, and I have to set them, but I can't find either of them. |
| Markus | Posted on: 2012/5/21 9:32 |
Webmaster ![]() ![]() Joined: 2006/3/27 From: SenseGraphics Posts: 1900 |
Re: 3D model reflecting light Are you using windows or linux?
If windows then download the latest external from the downloads section in order to compile trunk properly (especially on 64-bit). Also, could you direct to the old thread you found? |
| adrian | Posted on: 2012/5/18 16:18 |
Quite a regular ![]() ![]() Joined: 2010/6/16 From: Constanta, Romania Posts: 31 |
Re: 3D model reflecting light I checked for the lastest trunk; but, when compiling H3DAPI i get
error C2065: 'GL_DEPTH_COMPONENT32F' : undeclared identifier c:\H3D\H3DAPI\src\FrameBufferTextureGenerator.cpp 734 H3DAPI I couldn't solve it. I saw that a year ago you were asked about this issue, and you said it was because it was a development version. Did you solved it ? |
| Markus | Posted on: 2012/5/18 9:18 |
Webmaster ![]() ![]() Joined: 2006/3/27 From: SenseGraphics Posts: 1900 |
Re: 3D model reflecting light In the download section you can find source code for H3DViewer released versions. It is included both in the H3DAPI windows package as well as in the source only package.
|
| adrian | Posted on: 2012/5/16 12:53 |
Quite a regular ![]() ![]() Joined: 2010/6/16 From: Constanta, Romania Posts: 31 |
Re: 3D model reflecting light i`m not using the latest trunk (i`m using v2.1.1, available online). Here, I have my internet ports blocked (security reasons), so svn doesn't work.
|
| Markus | Posted on: 2012/5/15 15:36 |
Webmaster ![]() ![]() Joined: 2006/3/27 From: SenseGraphics Posts: 1900 |
Re: 3D model reflecting light Hello,
All source code are available. see http://www.h3dapi.org/modules/mediawi ... atest_development_version I have no idea why the models would look different. I guess the H3DAPI versions differ as well (check the dlls if you like, they have version info in them). Did you try with latest trunk as well? |
| adrian | Posted on: 2012/5/15 14:29 |
Quite a regular ![]() ![]() Joined: 2010/6/16 From: Constanta, Romania Posts: 31 |
Re: 3D model reflecting light No. My model looks just how I want inside the viewer v2.1.1, but it doesn't in v2.1.1 viewer and my app. But I don't know why;
So, my question is either "is the source-code for the v2.1.1 viewer available ?" or "why does the model look different in the 2 versions ?". Edit: Here's a part of my model loaded with both viewers. Same scene is loaded. As you can see, there is also a problem with texture on the 2.1.1 version. http://postimage.org/image/heca4kj2d/full |
| Threaded | Oldest First | Previous Topic | Next Topic | Top |
| Register To Post | |



