Comments (12)
To use a different version of visual studio, you have to go to rpcore/native/config.ini
and set the appropriate visual studio version, e.g. vc_version=Visual Studio 13 2013
I think (If you use cmake --help
you can see a list of detected compilers). This should fix the first issue - if it doesn't, please let me know so I can fix it.
For the second issue, I just committed a fix, let me know if it works (I wasn't able to test it yet).
EDIT: Commited another fix
from renderpipeline.
Fantastic! So that fixed the problem of compiling. It both the shaders, and the C++ natives (Visual Studio 12 2013 by the way.)
However, I seem to have run into another problem. It looks like that attempting to run the samples are not successful. I've ran only a few, but the patterns are common enough to show me that it seems to happen at the same point.
There is the log of the command prompt of multiple programs running. I've seperated each attempt by entering multiple spaces before running the next command.
ppython is the python that Panda uses.
http://i.imgur.com/GgBlpQu.png
This is the image of what each program looks like when it crashes.
from renderpipeline.
Hm its hard to tell, I would need some more information - Can you hit the "Debug" button after the program crashed (the one in your second screenshot) and attach a screenshot what it shows then (You will have to select Visual Studio as a debugger).
(I should probably also remove the warnings about slow loading of assets - It seems your disk seems to be a bit slower, causing each resource to load slowly and thus spam those warnings)
The issue might also be caused by a difference in your Panda3D and the render pipeline build - if its not too much effort, could you try and see if you get the crash with the python modules too?
from renderpipeline.
Welp, now I feel self concious about my hard disk. Then again, the WD Black I had before it went to crap, and the one I got back after claiming it's warranty looked a bit dinged up.
Oh well. I was planning on a new hard drive anyways. Any recommendations?
Anyways. I'll go ahead and try it when I get back. It -could- be a possibility that it's the compilation difference between the two. Given that Panda was compiled using Visual Studios 2015, but the compiler was from the Windows 7.1 SDK. CMAKE apparently doesn't see it, yet it says I have the Visual Studios 10 builder on the platform.
Push comes to shove, I might need to do some changes to VS to change the default compiler.
from renderpipeline.
It looks like it does have to do something with the way the C++ modules are compiled.
Pressing debug however does not provide the most helpful information.
http://i.imgur.com/WhdPpPl.png
That's from a generated file.
from renderpipeline.
I managed to find a copy of visual studios 2010 online, I'm going to try that when I download it. I seriously wander why people have not upgraded to a more recent visual studios =-=, it seems that it's either 2010 or 2012 which are incredibly hard to find now, or no longer supported.
from renderpipeline.
For what it's worth, the reason why Panda3D is still compiled with MSVC 2010 is because it's the last compiler to still support Windows XP, which still makes up a non-negligible portion of Panda3D's user base.
If that wasn't the issue, we'd already be on MSVC 2015.
from renderpipeline.
Alright I got it working.
Definitely the easiest way was to download Visual Studios 2010 then to fool with everything else.
It seems things are really washed out and flickering. I doubt the problem is in my hardware as it plays most current games, and runs editors just fine without problems. Could it be a problem with the Glsl? shaders?
http://i.imgur.com/r2zlzlK.jpg
from renderpipeline.
Hm, well yeah I guess the issue was that something was different in your Panda3D build than the render pipeline native build.
About the the flickering - I will have a look at it when I come home, maybe the GLSL warnings you get are related.
from renderpipeline.
@moonshineTheleocat which drivers are you using btw? It seems your driver is a bit weird, do you have a chance to try a newer version? Also which GPU do you use?
from renderpipeline.
AMD HD7950
Driver Packaging Version
16.15.2211
OpenGL® Version
6.14.10.13431
Also, is it possible that I can use an "issue" to open up a discussion? Or do you have one else where? I'd like to ask a few questions about the implementation.
I'd like to make some suggestions that may help out with the performance and drop memory usage. Though mind you, I'm not a professional graphics programmer. Just a student looking to make his own rendering system.
from renderpipeline.
I just committed a fix for your GLSL warnings - let me know if it works for you, maybe the other issues you were getting are related.
I'm just a student too - if you have any suggestions/improvements then feel free to open another issue :) Same goes for questions - they are not really issues, but that should be fine, this way others can also see the answers.
from renderpipeline.
Related Issues (20)
- Black screen after render pipeline is rendered HOT 4
- Unclear display with black blocks HOT 4
- cubemap.txo can't find HOT 2
- No water or flame sample included
- Using RenderPipeline in C++? HOT 4
- Missing reflections HOT 4
- A room without windows is lit up
- SSLR won't work
- Motion blur blurs whole image HOT 1
- glFramebufferParameteri error when enabling fractional scaling and going full screen
- Bloom plugin broken on AMD GPU
- Models shows a white Region HOT 1
- Setting texture to shader terrain through custom shader failed HOT 1
- AttributeError: module 'collections' has no attribute 'Hashable' HOT 1
- Terrain shadow problem HOT 1
- Custom Shaders HOT 1
- Framebuffer errors when using EGL HOT 1
- translucent object handling question
- How to realize the effect of Transparent in samples\07-Shading-Models HOT 1
- GL_INVALID_VALUE and GL_INVALID_OPERATION HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from renderpipeline.