Development SIG Toolkit

You are not logged in. Would you like to login or register?

Building a Primitive Object from its Parametric Equation » [Lab-01] Z-Fighting on Torus for different n-values » 9/09/2019 12:12 pm

valenotary
Replies: 4

Go to post

I thought so originally, but... like I said, for certain n, the torus has no layers which overlap, and for others, it causes this flickering issue through the center circles. I'm merely varying theta and phi between 0 and 2_PI. If I went ahead and subtracted 2pi/n (so, one face) from either or both for loops, then it fixes the overlapping issue for the n values that originally had it, but now there are cross section cuts through the n values that were fine originally. I'm not sure how to go about fixing this issue, as I said that the n-values that causes this overlapping versus the n-values that are fine don't seem to have a fixed pattern that I can check for (like, for every n that divides by 5, then be sure to not draw the last 2pi/n step).

Building a Primitive Object from its Parametric Equation » [Lab-01] Z-Fighting on Torus for different n-values » 9/06/2019 7:26 pm

valenotary
Replies: 4

Go to post

So, I basically have the most of the lab done, however there's this one issue that I'm not quite sure how to deal with: For certain n-values (where n is the number of triangles/rectangles/faces), there's this flicker effect over the central horizontal circle and vertical circle. For the majority of n-values, this issue doesn't occur, but for the n-values that have this flicker issue, there doesn't seem to be an inherent pattern to which numbers will cause the torus to flicker around the centers. Is this to be expected, or is there a workaround to this?

tinyurl(.)com/yxmhnrby (<---- GIF to what my torus; remove the parentheses)

Compilation with Visual Studio » Running Projects with Visual Studio 20XX » 8/28/2019 7:44 pm

valenotary
Replies: 1

Go to post

After fiddling around and fixing some errors, I finally got the sample template to work and thought I might share the process.

So, assuming you've already cloned the repository to your machine and that you have some version of VS installed, you first go to the vs2017 folder and look for the sigfull.sln file. If you have a different version of Visual Studio (personally I have VS 2019) you'll just have to upgrade the toolset/SDK to whatever version is the latest, usually you just click accept and let it do its thing without any errors.
Next, you'll want to build the entire solution via Ctrl+Shift+B. It'll generate libraries depending on whatever machine you're on (windows32/64 versus linux 32/64), and you can find those in sig/lib. 

Okay, so now you'll want to go to the sig/examples, where all of the examples are including compressed files of the app template and the mynode template (You'll need 7zip for this). For now, focus on sigapp.7z; extract this folder to the same one that your sig folder is in (so, for example, if you cloned sig to C:\Users\your_name\Documents\sig, then you should extract sigapp.7z to the Documents folder so that its path would be C:\Users\your_name\Documents\sigapp). Make sure that the extracted folder isn't in another folder of the same name, like ..\Documents\sigapp\sigapp (by default, 7zip will do this, at least for me). As the instructions say, the template itself finds the necessary includes and libraries using relative paths, so any folders that encase the sigapp folder will cause linker errors when it tries to find the sig folder. Basically, make sure the path to the sigapp.sln looks like ..\Documents\sigapp\vs2017\sigapp.sln, assuming sig is in the Documents folder as well. 
By this point, you should be able to open the sigapp solution and run the template. However, if you run into linker errors, there are two main problems (among others) you may come across that I can suggest solutions to:
1) The fir

Board footera

 

Powered by Boardhost. Create a Free Forum