Author Topic: EDA221 - Introduction to 3D 2014 HT1  (Read 25414 times)

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
EDA221 - Introduction to 3D 2014 HT1
« on: 2014-08-22 11:04:11 »
Welcome to the Computer graphics: Introduction to 3D discussion forum!  :)

Here you may ask questions about the labs or other issues. Teachers/assistants will be present here, but students are highly encouraged to participate.

Course-related announcements might pop up here as well, so make sure to stop by on a regular basis.

Editions from previous years (lots of useful stuff):
2013 forum: http://forum.student.lth.se/index.php/topic,1105.0.html
2012 forum: http://forum.student.lth.se/index.php/topic,1057.0.html
2011 forum: http://forum.student.lth.se/index.php/topic,999.0.html
2010 forum: http://forum.student.lth.se/index.php/topic,929.0.html
« Last Edit: 2014-08-28 10:57:43 by MikeD »

Offline bondi

  • Newbie
  • *
  • Posts: 15
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #1 on: 2014-09-04 14:48:00 »
Någon som behöver en partner för uppgifterna? :)

Anyone needing a partner for the assignments? :)

Offline Saša

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #2 on: 2014-09-04 15:39:39 »
Behöver du fortfarande en partner? I så fall samarbetar jag gärna!

Offline bondi

  • Newbie
  • *
  • Posts: 15
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #3 on: 2014-09-04 16:11:32 »
Behöver du fortfarande en partner? I så fall samarbetar jag gärna!

Det gör jag, så då kör vi tillsammans! :D
Lägg till mig på facebook, heter Pontus Bondi Eriksson!

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #4 on: 2014-09-05 10:14:50 »
You can sign up for the lab sessions here :
https://sam.cs.lth.se/LabsSelectSession?occasionId=341

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #5 on: 2014-09-05 13:48:19 »
If you are getting the RenderChimp code to work on OSX, check out Jacob's first reply on the 2013 forum.

Offline scr

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #6 on: 2014-09-06 10:55:22 »
Hej,
försöker få RenderChimp att fungera på OS X 10.9.4. Har installerat SDL och SDLimage efter vad som stod i forumet för 2013.

Jag får dock detta felmeddelandet "No architectures to compile for (ARCHS=x86_64, VALID_ARCHS=i386)."

Mina build settings i architecture är:

Additional SDKs:
Architectures: Standard Architectures (64-bit Intel) (x86_64)
Base SDK: Latest OS X (OS X 10.9)
Build Active Architecture Only: No
Supported Platforms: OS X
Valid Architectures: i386

Har googlat utan framgång så om någon vet vad som är fel får ni gärna hjälpa till!


Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #7 on: 2014-09-06 12:35:40 »
Try setting architecture to 32-bit Intel (i386)
RC still has 32bit dependencies.

Hej,
försöker få RenderChimp att fungera på OS X 10.9.4. Har installerat SDL och SDLimage efter vad som stod i forumet för 2013.

Jag får dock detta felmeddelandet "No architectures to compile for (ARCHS=x86_64, VALID_ARCHS=i386)."

Mina build settings i architecture är:

Additional SDKs:
Architectures: Standard Architectures (64-bit Intel) (x86_64)
Base SDK: Latest OS X (OS X 10.9)
Build Active Architecture Only: No
Supported Platforms: OS X
Valid Architectures: i386

Har googlat utan framgång så om någon vet vad som är fel får ni gärna hjälpa till!

Offline scr

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #8 on: 2014-09-06 19:27:16 »
I changed that but got some new problems instead...
Here is a print screen of the error messages:

Try setting architecture to 32-bit Intel (i386)
RC still has 32bit dependencies.

Hej,
försöker få RenderChimp att fungera på OS X 10.9.4. Har installerat SDL och SDLimage efter vad som stod i forumet för 2013.

Jag får dock detta felmeddelandet "No architectures to compile for (ARCHS=x86_64, VALID_ARCHS=i386)."

Mina build settings i architecture är:

Additional SDKs:
Architectures: Standard Architectures (64-bit Intel) (x86_64)
Base SDK: Latest OS X (OS X 10.9)
Build Active Architecture Only: No
Supported Platforms: OS X
Valid Architectures: i386

Har googlat utan framgång så om någon vet vad som är fel får ni gärna hjälpa till!

Offline Kenan

  • Newbie
  • *
  • Posts: 2
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #9 on: 2014-09-07 20:55:37 »
Hi!

Anyone needing a partner?

Någon som behöver en partner?

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #10 on: 2014-09-08 10:45:41 »

For OSX 10.9, you need to make the following changes.

In GLee.h replace :
           typedef ptrdiff_t GLintptrARB;
      typedef ptrdiff_t GLsizeiptrARB;

with :
           typedef long GLintptrARB;
      typedef long GLsizeiptrARB;

and replace :
   typedef int GLhandleARB;
with :
        typedef  void* GLhandleARB;

and in RendererGL.cpp add a cast to (GLint) for GL_VERTEX_SHADER and GL_FRAGMENT_SHADER
  id = (GLint) glCreateShaderObjectARB(GL_VERTEX_SHADER);

 id = (GLint) glCreateShaderObjectARB(GL_FRAGMENT_SHADER);


I changed that but got some new problems instead...
Here is a print screen of the error messages:

Try setting architecture to 32-bit Intel (i386)
RC still has 32bit dependencies.

Hej,
försöker få RenderChimp att fungera på OS X 10.9.4. Har installerat SDL och SDLimage efter vad som stod i forumet för 2013.

Jag får dock detta felmeddelandet "No architectures to compile for (ARCHS=x86_64, VALID_ARCHS=i386)."

Mina build settings i architecture är:

Additional SDKs:
Architectures: Standard Architectures (64-bit Intel) (x86_64)
Base SDK: Latest OS X (OS X 10.9)
Build Active Architecture Only: No
Supported Platforms: OS X
Valid Architectures: i386

Har googlat utan framgång så om någon vet vad som är fel får ni gärna hjälpa till!

Offline dscheibe

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #11 on: 2014-09-08 13:03:33 »
Hello.  I have downloaded SDL.frameworks version 1.2.15 and SDL_image.frameworks version 1.2.12 for mac OSX and put them both into my /Library/Frameworks folder.  I have also updated the changes mentioned above regarding Glee.h and GLint casting.  However now I am getting an error in PlatformOSX.cpp of "SLD_image/SDL_image.h" file not found.  I've tried to change this to simply SDL_image.h but it cannot find that file and I have tried renaming the SDL_image.h file in the SDL_image.frameworks but that doesn't work either.  Anyone else running MAC OSX 10.9.1 and Xcode 5.1.1 having the same problem or know how to fix it? thank you.

Offline scr

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #12 on: 2014-09-08 14:14:43 »
Seems like it works for me now so maybe this will solve the problem.

In the bar to the left with the file system, navigate to frameworks->linked frameworks. At first my "SDL_image.frameworks" was marked red and the path/location was wrong. So if this is the case then change the path/location to "/Library/Frameworks/SDL_image.framework". This can be done in the bar to the right when you mark "SDL_image.frameworks".

Hello.  I have downloaded SDL.frameworks version 1.2.15 and SDL_image.frameworks version 1.2.12 for mac OSX and put them both into my /Library/Frameworks folder.  I have also updated the changes mentioned above regarding Glee.h and GLint casting.  However now I am getting an error in PlatformOSX.cpp of "SLD_image/SDL_image.h" file not found.  I've tried to change this to simply SDL_image.h but it cannot find that file and I have tried renaming the SDL_image.h file in the SDL_image.frameworks but that doesn't work either.  Anyone else running MAC OSX 10.9.1 and Xcode 5.1.1 having the same problem or know how to fix it? thank you.

Offline dscheibe

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #13 on: 2014-09-08 14:19:12 »
It shows it as a valid path. It should have Linked Frameworks->SDL_image.frameworks->Frameworks and Headers-> (in Headers) SDL_image.h and only this header.  This is what mine shows, is that correct?

Seems like it works for me now so maybe this will solve the problem.

In the bar to the left with the file system, navigate to frameworks->linked frameworks. At first my "SDL_image.frameworks" was marked red and the path/location was wrong. So if this is the case then change the path/location to "/Library/Frameworks/SDL_image.framework". This can be done in the bar to the right when you mark "SDL_image.frameworks".

Hello.  I have downloaded SDL.frameworks version 1.2.15 and SDL_image.frameworks version 1.2.12 for mac OSX and put them both into my /Library/Frameworks folder.  I have also updated the changes mentioned above regarding Glee.h and GLint casting.  However now I am getting an error in PlatformOSX.cpp of "SLD_image/SDL_image.h" file not found.  I've tried to change this to simply SDL_image.h but it cannot find that file and I have tried renaming the SDL_image.h file in the SDL_image.frameworks but that doesn't work either.  Anyone else running MAC OSX 10.9.1 and Xcode 5.1.1 having the same problem or know how to fix it? thank you.

I also need a partner if anyone else does. I'm a student at UCLA in California and I don't speak any Swedish.  My name is David Scheibe.
« Last Edit: 2014-09-08 17:18:45 by dscheibe »

Offline Kenan

  • Newbie
  • *
  • Posts: 2
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #14 on: 2014-09-08 19:44:08 »
Hi!
I'm looking for a partner as well and also operate on OS X. Got mine to work after reading up in the forum, I could help you tomorrow after the lecture if don't get it to start. Because I had the same problem. If you are up for partnership my name is Kenan Sulejmanovic. I'm student of LTH  :D

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #15 on: 2014-09-09 09:03:11 »
The Tuesday 15-17 lab will be in Uranus every week now.

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #16 on: 2014-09-10 11:41:51 »
Here's a link to the Graphics Pipeline Demo I showed in class :
http://www.realtimerendering.com/udacity/?load=demo/unit7-view-pipeline.js
You read a little about it in Eric Haine's blog on real time rendering :
http://www.realtimerendering.com/blog/graphics-pipeline-demo/

Offline sespinas

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #17 on: 2014-09-10 20:41:40 »
Hi,
i've download Visual Studio 2010 on my computer for Windows XP,
i can open it and see the project, but when i try to compile it by clicking on the
green button, the following error message appears, and i can't see the render:

"'RenderChimp.exe': Loaded 'D:\Sandy\ComputerGraphics\EDA221_RenderChimp_13\win32\bin\RenderChimp.exe', Symbols loaded.
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'D:\Sandy\ComputerGraphics\EDA221_RenderChimp_13\win32\bin\SDL.dll', Binary was not built with debug information.
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\user32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'D:\Sandy\ComputerGraphics\EDA221_RenderChimp_13\win32\bin\SDL_image.dll', Binary was not built with debug information.
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\glu32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\shimeng.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Unloaded 'C:\WINDOWS\system32\shimeng.dll'
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\uxtheme.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\Program Files\RocketDock\RocketDock.dll', Binary was not built with debug information.
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\msctf.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\version.dll', Cannot find or open the PDB file
'RenderChimp.exe': Unloaded 'C:\WINDOWS\system32\version.dll'
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\apphelp.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\msctfime.ime', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\kbdus.dll', Cannot find or open the PDB file
'RenderChimp.exe': Unloaded 'C:\WINDOWS\system32\kbdus.dll'
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\kbdfr.dll', Cannot find or open the PDB file
'RenderChimp.exe': Unloaded 'C:\WINDOWS\system32\kbdfr.dll'
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\dsound.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\version.dll', Cannot find or open the PDB file
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\nvoglnt.dll', Cannot find or open the PDB file
The thread 'Win32 Thread' (0x15cc) has exited with code 0 (0x0).
'RenderChimp.exe': Loaded 'C:\WINDOWS\system32\mcd32.dll', Cannot find or open the PDB file
'RenderChimp.exe': Unloaded 'C:\WINDOWS\system32\mcd32.dll'
The thread 'Win32 Thread' (0xc50) has exited with code 1 (0x1).
The thread 'Win32 Thread' (0xabc) has exited with code 1 (0x1).
The program '[4620] RenderChimp.exe: Native' has exit"d with code 1 (0x1).

Does anyone has an idea of the problem?

Thank you for your help!

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #18 on: 2014-09-11 11:22:11 »
If you are wondering about why the rings of Saturn are only visible from one direction, it's because backface culling is on by default. The idea is that most objects are closed, so it's no point rendering triangles when you see the from the back, because the front facing triangles will cover them. Think about a sphere. But the triangles we use for the rings of saturn are not a closed object, so they disappear when you look at them from the 'back'.

Have a look at slide 32 from Seminar 2 for the commands :
http://fileadmin.cs.lth.se/cs/Education/EDA221/seminars/sem_2.pdf
 in particular :
my_shader->getRenderState()->disableCulling();

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #19 on: 2014-09-11 11:29:30 »
If you are interested in adding a Cube Map to your solar system, we will look at this in Seminar 3. You can look ahead to that for some hints, but it does require a new type of sampler, which we have to add to the shader. So look ahead if you like, but we haven't really covered everything yet ;)

Offline sespinas

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #20 on: 2014-09-12 17:07:37 »
Hi!
I have a question about the first assignment:
In the following instruction: "Modify the existing camera control code from pivot- to fp-style"
what is the fp-style?

Thank you for your reply!

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #21 on: 2014-09-15 10:55:12 »
fp-style stands for First Person style. It means that when you move the mouse on the screen, it is like you are moving your head and looking in different directions. So when you move the mouse to the left, the camera rotates to look in the left direction, same for moving the mouse in the right, up and down direction, this also moves the camera in those directions.

Hi!
I have a question about the first assignment:
In the following instruction: "Modify the existing camera control code from pivot- to fp-style"
what is the fp-style?

Thank you for your reply!

Offline bondi

  • Newbie
  • *
  • Posts: 15
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #22 on: 2014-09-17 13:19:21 »
Hi we have a couple of questions!

1. How do we use the transparency maps from the website http://planetpixelemporium.com/ for saturn and uranus disks in combination with the color maps? Is it possible to do in renderchimp?

2. Is there any way to use the local coordinate system of a planet that is axially tilted? It would really help with the rotation of Pluto, which differs quite a bit from the other planets.

3. Are we supposed to manually calculate a matrix for the cubic interpolation for the travel route of the space ship, or is there any shortcut available in renderchimp?

4. Is there any way to let the planets block the light from the sun, so that i.e. a moon that's behind the planet won't be lit up?

Thanks in advance!

Offline ErikRH

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #23 on: 2014-09-18 13:18:46 »
Hejsan. Om det är någon som arbetar ensam och vill ha en laborationspartner så ställer jag gärna upp.



Hi there. If someone is working alone and thinks he/she needs a laboration mate, I am happy to help.


Also, I would like to know how to think when creating the orbit of the planets. I know how to handle the spin, but I cannot get the orbit thing to work. I tried to follow an "example" from an old exam, but that did not take me anywhere.

/Erik

Offline AlexW

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #24 on: 2014-09-22 16:31:05 »
If anyone wants to work together on the second lab, I'm up for it since I don't have a lab partner.

Om någon vill jobba tillsammans på den andra labben så är jag på eftersom att jag inte har en labbpartner.

I'm actually having some trouble getting through it so if someone who has gone through the assignment already would just like to help, that would be awesome as well.

Offline StenRemmelg

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #25 on: 2014-09-24 11:26:34 »
Hi, we have a question about lab 2.

In the interpolation part when defining the matrices, how do you declare the last matrix in both methods? (the ones that contain the p_i points)

They should be 2x3 and 4x3, right? We only know how to make square matrices.

Edit: Should we use array style matrices like float matrix[rows][cols] and do the multiplications as a loop?

Edit 2: Solved it!
« Last Edit: 2014-09-24 11:57:43 by StenRemmelg »

Offline Fhurrur

  • Newbie
  • *
  • Posts: 2
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #26 on: 2014-09-24 20:15:04 »
Error in VectorMath.cpp, line 1035, the return type should be vec4 and not vec2 for a 4x4 matrix multiplication.

Current
Code: [Select]
/* Multiplication/Dot product */
template<class T>
inline vec4<T> vec4<T>::operator*(const mat4<T> &v) const
{
return vec2<T>(
v.a * x + v.e * y + v.i * z + v.m * w,
v.b * x + v.f * y + v.j * z + v.n * w,
v.c * x + v.g * y + v.k * z + v.o * w,
v.d * x + v.h * y + v.l * z + v.p * w
);
}

Suggested
Code: [Select]
/* Multiplication/Dot product */
template<class T>
inline vec4<T> vec4<T>::operator*(const mat4<T> &v) const
{
return vec4<T>(
v.a * x + v.e * y + v.i * z + v.m * w,
v.b * x + v.f * y + v.j * z + v.n * w,
v.c * x + v.g * y + v.k * z + v.o * w,
v.d * x + v.h * y + v.l * z + v.p * w
);
}

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #27 on: 2014-10-01 16:14:57 »
More about assignment 4:

Last year Per Ganestam put together a Mac version of the lab that is nearly identical to the PC version. It uses a different window handling library, GLFW rather than GLUT. Since the OSX GLFW build uses Cocoa it makes it possible to get an OpenGL 3/4 context with GLSL 1.5 and above.

Only C++, no Objective C.

A link to the project zip can be found on the assignments page.

The working directory information doesn't stay with the xcode project file. So if you try to run it, it can't find the textures or shaders.
A quick way of fixing it is to set your working directory to $SRCROOT.
After opening the project in xcode, to the right of the "run" button click the project name to get a drop down menu. Choose "Edit Scheme" and click the "Working Directory" box. In the text box, type $SRCROOT.

GLFW runs on PC as well and is a neat and modern substitute to GLUT, of course, if someone wants to try it out on a PC, you have to find (or compile) the binaries of your choice. The libglfw3.a is only for OSX.
http://www.glfw.org/


Offline Currentberg

  • Newbie
  • *
  • Posts: 6
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #28 on: 2014-10-03 23:59:43 »
I am having an issue with the assignment 4. When I have downloaded the handout (for windows) and opened it with VisualStudio 2013 and then directly try to run the glsWater.cpp, I get an error saying that the program can't be launched due to the glew32.dll is not on this computer. I have tried to set the path directories in projectproperty->VC++ Directories, but without any success.

Apparently (what I have read) it should be sufficient to have the glew extension in the root directory as it is, but somehow it wont work.

Error message from Visual Studios:

'glslWater.exe' (Win32): Loaded 'C:\Users\Tothema\Desktop\assignment4_handout\win32\Release\glslWater.exe'. Symbols loaded.
'glslWater.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'glslWater.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'glslWater.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
The program '[6248] glslWater.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.


Any thoughts?^^



Update:

I fixed the problem by copying both the glew32.dll and the glut32.dll into the Release folder. I also did some different Pathing in Visual, but i think the issue is solved just by copying the files alone.

« Last Edit: 2014-10-04 10:09:50 by ada10vru »

Offline dic13ali

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #29 on: 2014-10-12 17:18:50 »
Get rich while avoiding ogres, or die trying!

You play as a textureless space treasure hunter. Whilst on the hunt for some good ol' money you encounter a band of cunning ogre heads. They want you dead. Avoid the ogre heads and the borders of the window while getting rich! But be careful, more money equals more ogres.

Features:
- iCopteresque controls
- realistic gravity
- shoot some ogres
- generate head shots
- get money
- play with words...

Control:
- w to throttle
- e to shoot

Beginning of the game:


End game:


Authors:
Mattias Simonsson och Anton Lin

Offline StenRemmelg

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #30 on: 2014-10-13 14:27:47 »
Hi, does anyone know how to write text to the game window in some way? Like showing a score counter in the corner, or making a screen with "Game over, your score was: x" or something.

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #31 on: 2014-10-13 18:53:40 »
Hi, does anyone know how to write text to the game window in some way? Like showing a score counter in the corner, or making a screen with "Game over, your score was: x" or something.
You are looking for the Console::log("score: %d",score); command.
For the formatting of variables, look up the C++ printf command.

Offline sespinas

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #32 on: 2014-10-14 12:11:58 »
Hi!
We are the team Rodrigo Daguano and Sandy Espinasse, and we created the game Awesome Torus Ride!
Your goal is to pass a fixed number of Tori as fast as possible. You can control your spaceship with the AWSD, + QE for spinning left/right. Also you can accelerate with Z, and brake with C.
Your time will start counting when you press one of these movement keys. The Tori are randomly positioned along the path and you must cross their centers precisely in order to get them scored.
If you miss one the you can always return, the clock will not stop, but you are losing valuable seconds!






Offline Shan

  • Newbie
  • *
  • Posts: 5
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #33 on: 2014-10-14 15:40:11 »
Circle ring destroyer by Nguyen Lam & Shan Senanayake: The objective is to destroy circle rings by using a ball to bounce of the sphere you are controlling.
Controls: A or D to move left and right.


http://imgur.com/cS84SAw,PMOLfmY#0

Offline dscheibe

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #34 on: 2014-10-14 15:53:42 »
Our game is called The Best Torus Game Out There.  Our group is David Scheibe and Kenan Sadik Sulejmanovic.  The goal of the game is to fly through a set number of torus's as fast as possible.  They are randomly placed and you won't know where the next one is until you pass through the previous torus.  You have to hit the center of the torus (without hitting the torus itself) to move on to the next one.  Once you finish, your time will be displayed.

W to accelerate, S to decelerate and mouse to control direction.


Offline Denhi

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #35 on: 2014-10-14 16:23:29 »
Collect shiny donuts space game

Objective
  • Avoid getting hit by asteroids and earths and collect more shiny donuts than your opponent.
Features
  • Multiplayer/Multitasker game
  • Awesome texture on donuts
  • Realistic space environment almost
Controls
  • Spaceship one (the camoflage colored spaceship): WASD-keys for directions
  • Spaceship two (the blue spaceship): IJKL-keys for directions
Created by
  • Denhi Huynh
  • Jacob Arvidsson

Offline ada09fak

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #36 on: 2014-10-14 16:54:42 »
Title: Whack the Seal, to Seal your Destiny!

Authors: Fredrik Åkerberg, Sofia Siljeholm

Controls: Use WAD, to control your seal, and P to Pause the game (although you may have troubles unpausing it... :p (it's a feature ;) ))!

Objective: Seals don't like to be hit by various object such as Maces and Baseballbats! Avoid these!!!
But as everyone knows, they love My Little Ponies :). So collect these to get points :).

Hint: You are able to fly beside the track, but then you'll miss the point of the game...


Pics:
https://drive.google.com/file/d/0B5qQOvPITKNrWlRQSWF5NjFfOGs/view?usp=sharing

Offline lat11rol

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #37 on: 2014-10-15 13:37:44 »
HoverTank
Drive the Hover Tank and shoot down the EDA221-themed balloon targets as fast as possible.

Controls
Control the tank with [ W ] [ A ] [ S ] [ D ] and steer the turret with the mouse.
[ MOUSE BUTTON 1 ] to fire and [ MOUSE BUTTON 2 ] to reset the view.

Screenshots
http://imgur.com/a/c4bxs

Video
https://www.youtube.com/watch?v=5Cmu3b_70S0

Binary (Windows)
(Might work)
Run RenderChimp.exe in win32\bin\ .
https://dl.dropboxusercontent.com/u/41472562/HoverTank.zip

Created by
Rikard Olajos
« Last Edit: 2014-10-15 13:46:09 by lat11rol »

Offline adi10jsv

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #38 on: 2014-10-15 13:42:12 »
Our game is called "Destroyer of Earth(s)".
In this game you steer a small spaceship whose evil pilot wants to destroy all existing life in the whole universe (except himself of course).

Authors: Johan Svensson & Tobias Andersson

Controls:
WASD for steering
Mouse for changing direction
Ctrl to fire the death ray
Right mouse for shield

The player loses points when crashing into Earth(s) without an activated shield. The player gains points when destroying an Earth.






Offline Nicck

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #39 on: 2014-10-15 15:30:43 »
Shaky Space Ride

Authors:
Christian Tenggren & Nicklas Johansson

Gameplay:
Steer the spaceship with AD and try to avoid the asteroids. You get points for every asteroid avoided but beware that you lose points for every collision with an asteroid. The camera will also shake each time you hit an asteroid to indicate that a collision have occured. The speed of the game and the number of asteroids increase with the score and decrease with each collision.

Screenshot:

Offline AmyEmelie

  • Newbie
  • *
  • Posts: 9
Fly through the polkagris donuts!
« Reply #40 on: 2014-10-16 09:05:50 »
Objective
Fly through the polkagris donuts in the right order for the rest of your days!

Features
  • Tasty texture on donuts
  • your personal ship in pure gold
  • fly-through detection
  • moving donuts

Controls
"W" for flying forward and "S" for backward. Click and hold right-mouse button to stear.

Created by
Amy Niklasson
Emelie Sandström


Offline JohanAkelius

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #41 on: 2014-10-16 09:40:50 »
Objective
Fly around in the air and shoot down the asteroids, who are out to kill you.

Controls
"WASD" for moving the plane around, "OP" for accelerating and deaccelerating, "SPACE" for shooting.

Created by
Johan Åkelius
Rikard Lindahl


Offline EmmaDavid

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #42 on: 2014-10-16 09:47:29 »
Go through as many tori as you can manage. If you hit one you are dead.
The only thing you can change is your speed. It's flappy bird hard.

Features: brilliant collision detection on the two sides of rotating tori, cubemapping, interpolation and phong shading.

David Larsson and Emma Holmberg Ohlsson

Offline asl

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #43 on: 2014-10-16 09:48:02 »
Mystic island by Anna Larsson

While out flying with your spaceship (as you do), you get trapped on a mysterious island. The giant stone ogre presiding over the barren land tells you the only way to escape the island is by flying perfectly through the stone arches surrounding the island. When you pass through an arch, it turns red, to mark you success.

Use the A and D keys to navigate your ship.

screenshot:
https://www.dropbox.com/s/h0ujghtbn7hfhrx/Capture2.PNG?dl=0

Offline Leaves

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #44 on: 2014-10-16 10:44:44 »
Name: Crazy Stones
Authors:Zhang Menghe & Yu Ruifan
Tasks: shoot & avoid stones from star-sky
Rules:1.use keyboard WSAD to control player's direction
          2.use V to shoot
          3.players have 8 lives in total , if cracked more than 8, the game will exit
Features:1.the stones go as para-curve and generated randomly
               2.print lives and score on the log screen
               3.easy to set parameters of game

 
« Last Edit: 2014-10-16 10:52:49 by Leaves »

Offline WilliamBengtsson

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #45 on: 2014-10-16 10:58:56 »
Space Balls

Features
Impressive Phong and bump shaders!
Balls looking like the sun!
A container able to move both to the left and to the right!
Increasing difficulty, even harder than Flappy Bird!

Screenshot


Objective
Collect all the falling balls with the box-container. If you miss one you lose!

Controls
Move the box-container sideways by pressing A and D.

Created by
William Bengtsson
Christer Persson

Offline RXminuS

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #46 on: 2014-10-16 11:32:34 »
Asteroid Trouble
Thanks to efforts by Elon Musk and his SpaceX program we have now successfully captured a deep space asteroid into orbit and are studying it's inner core to find the origin of life in the universe. During studies, scientists stumbled upon a weird material never seen before. As it turns out, it was the heart of the asteroid and touching it made the asteroid very very angry. It has send out a distress signal throughout the universe for other interstellar bodies to come and destroy the base built upon it's surface . You've been send out to defend the space station and allow scientists to continue study and find the answer to the most important question in the universe!!!

Disclaimer: This is some of the ugliest code I've ever written so I can't guarantee anything. Also, the game was built to run fullscreen at the resolution for the Uranus-lab computer labs so if you want to run at a different resolution...well you can ask me ;)

Features
  • Point Sprite particle engine
  • Logaritmic Z-buffer to enable large planet rendering
  • Real Time Atmospheric scattering - based upon GPU gems article but there's a much better version in the new GPU PRO 5 book
  • Earth specular & bump mapping (night time maps and cloud maps available but omitted because I didn't have the time to make it look good)
  • Procedural volumetric explosions - http://stevencraeynest.wordpress.com/2013/03/29/easy-volumetric-explosion-in-unity3d/
  • Automatic Luma  Exposure adjustment
  • Cinematic Color grading & Gamma correction (although textures aren't loaded with correct gamma due to Render Chimp limitations)
  • Added floating point textures to Render Chimp
  • Bloom effect (and ready for Pseudo lens flare but again...not enough time)
  • Vignette effect

Credits
Rik Nauta - riknauta@gmail.com
Models and textures come from many different (FREE & PAYED) sources (BIG THANKS), e-mail me if you're interested in something particular.

Controls
Ctrl - lock/unlock camera (useful for interplanetary flight)
Shift - thrusters
W - fly up
S- fly down
A- turn left
D- turn right
Mouse- look around (press Ctrl to unlock camera)
Left Mouse Button - shoot

Executable
https://drive.google.com/file/d/0By1j86IbacCjLVlOdDltS3l5VHM/view?usp=sharing

Source Code
I have it as a Git repo on BitBucket but as a private repository because I would like to clean it up first before making public. So if you really want to have a look at something drop me an e-mail.

Screenshots



« Last Edit: 2014-10-16 12:10:23 by RXminuS »

Offline StenRemmelg

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #47 on: 2014-10-16 12:03:33 »
Ogre Jump 2014

Features
Extremely immersive platforming action!
Platforms that turn green when visited!
Almost Newtonian motion!
A golden floating ogre head with Phong shading!
Impressive levitating lava ball in the sky with bumpmapping!
A floor of real lava, just like the one you imagined as a kid!

Screenshot




Objectives
Visit all platforms without falling into the lava.
Sit stunned in awe of our awesome graphixxx!

Controls
Aim the ogre head by holding down the right mouse button and turning the camera.
Increase jump power with A and decrease it with Z.
Use Q to perform a leap of faith.

Known bugs
Sometimes you can't die for some unknown reason, but this is more of a feature than a bug.

Created by
Sten Remmelg
Ola Runeson
(thanks to William Bengtsson and Christer Persson for your awesome template for this forum post ;))

Offline ada10del

  • Newbie
  • *
  • Posts: 2
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #48 on: 2014-10-16 12:52:16 »
Asteroid Dodge
authors: Daniel Eliasson, Bjarni Birgisson

Description:
Fly around, avoid the asteroids. The number of asteroids is steadily increasing and makes your final score.

Features:
  • Fully bump mapped tessellated Asteroids
  • Dodging with real (fake) physics
  • Press spacebar to get you current score
  • Crashes due to memory error on exit!!!

Controls:

  • Mouse: look
  • WASD: move
  • Spacebar: score
  • Esc: Exit
  • F10: release mouse pointer
  • F11: capture mouse pointer


Screenshot:




« Last Edit: 2014-10-16 12:56:25 by ada10del »

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #49 on: 2014-10-16 13:49:51 »
Asteroid Trouble

Well done! Great to see such a mixture of shaders and effects, plus attention to model detail and look.

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #50 on: 2014-10-16 14:05:46 »
Many great looking projects. Well done!

Offline HLBilski

  • Newbie
  • *
  • Posts: 6
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #51 on: 2014-10-16 15:48:38 »
FlappyShip
authors: Henrik Lindelöf Bilski

Features:
A complex one button adventure: Should you jump this second or the next?
An octane driven immersive story experience: There is a torus and hitting it gives you a stunningly well written message of approval.
Two lines of text: There is also a reply if you fail to hit the torus.
Most advanced whirlpool graphics of any Flappyship game: A circular drawing from CircleShape texture coordinates is the cutting edge in whirlpool graphics!
Infinite replayable sandbox: The game has no win condition letting you enjoy it endlessly.

Controls:
W: jump (what else would you need)?

Screenshot:

Offline Carl Johan Gribel

  • Newbie
  • *
  • Posts: 49
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #52 on: 2014-10-16 19:59:00 »
Great looking games, nice work!  8)

Offline Fhurrur

  • Newbie
  • *
  • Posts: 2
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #53 on: 2014-10-16 20:12:43 »
Catch Them All!
Get your copy at:
http://lth.lu/CatchThemAll.7z!

30 Pokeballs, surrounded by evil rings(dont touch them) and you gotta catch them all!

Featuring:
  • HD textures(GTX 600 series or better recommended)!
  • 30+ year old rendering techniques!
  • Bumpmaps, Phongs and cubemaps makes it even more realistic than the latest AAA games!
  • Extremely long startup times!
  • Many millennia of fun!
  • A golden ship to help you!
  • Rotating cubemap that will make you dizzy!
  • So simple controls that even your grandma can play it!(Accelerate with W, steer with mouse)
  • Highly advanced reset function(Spacebar)
  • Endless replayability, when you reach the end it will reset and show you your time!


By
Alexander Magnusson
Robin Ljungström
« Last Edit: 2014-10-16 20:17:52 by Fhurrur »

Offline hb

  • Newbie
  • *
  • Posts: 2
Tabletennis
« Reply #54 on: 2014-10-16 21:56:10 »
Authors: Robin Seibold and Hanna Björgvinsdóttir

Objective: In this fps game, the aim is to shoot the small eyes orbiting around the boss eye, while avoiding being shot at. When all small eyes have been eliminated, the boss eye can be killed with four shots. The goal is to use as few bullets as possible to eliminate all eyes.

Features: Beautiful scenery, easy navigation, and best score tracking.

Controls: WASD and mouse for navigation, mouse click for shooting, c for restarting the game after having won/lost.


Offline AlexW

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #55 on: 2014-10-17 20:22:56 »


Labyrinth'd

Authors: Alex Wormbs & Jonathan Vidmar

Objective: In this daring maze game your objective is to find the exit whilst keeping track of the time it takes you as a means for competetive game play against your friends. Revolutionary level design renders traditional maze solving techniques useless. As we speak, people are still trying to find a way out. Amelia Earhart didn't disappear in the pacific, she went into this maze...

Get labyrinth'd!

Features: Glorious collision detection, local light redering and intense level of claustrophobia.

Controls: WASD

Offline bondi

  • Newbie
  • *
  • Posts: 15
Prepare for ULTIMATE ASTonROIDZ in THREE dimensions!!1!
« Reply #56 on: 2014-10-20 15:07:00 »
ULTIMATE ASTonROIDZ in THREE dimensions, coming to a store near you!

Fight your way through an infinite amount of asteroids coming straight towards you, no matter where you fly!
Use your super-thruster (shown on picture) for extra speed, and fire your green mega-laser to OBLITERATE the asteroids before they OBLITERATE you! (Laser not shown on picture)
IF you would FAIL and get smasked by an asteroid, get punished by getting spawned in the middle of our solar-system!!

Features:
Momentum && Acceleration.
Thruster.
Mega-laser.
Infinite universe with asteroids spawning in a circle around you, no matter where you are.
Score && Death counters.
A dangerous amount of fun!


Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #57 on: 2014-10-21 09:48:13 »
Some really great work here, well done to all students!!

Two things that are really great to add :
1. Is a you-tube clip of you game running. It's a great way to show it off now, plus to future employers! With a clip on you-tube, the extra work that you put into a 1 week project will be around for some time, and something you can always reference.
2. A downloadable executable. This is a great way to let others experience your game! Try putting it in a zip file and adding it to dropbox or any other sharable cloud drive. In this way many students, and even external people can really experience the work that you put in and perhaps if you lose it you can find it in the forum one day ;)
« Last Edit: 2014-10-22 09:12:29 by MikeD »

Offline tfy11jda

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #58 on: 2014-10-31 00:36:00 »
3D Pong
Created by: Johnny Dang


The classic  game, seen from a new perspective.

Features
  • 2-player mode only
  • Room with bumpy-looking walls
  • Easy controls
  • Ball bounces in a random direction from the player controlled brick

Controls
Ordinary WASD buttons for player 1 and the less ordinary UHJK for player 2.
The bricks will only move in a 2D plane, so they can never get closer to the center.
When the ball gets past the wall, the ball is teleported to the center again. Pressing T will do the same.

Screenshot
Couldn't upload it to the forum, so I post a dropbox link instead.
https://www.dropbox.com/s/u1tt4srgee2ly97/screen.gif?dl=0

Offline MikeD

  • Full Member
  • ***
  • Posts: 209
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #59 on: 2014-11-13 16:24:13 »
Results for the 2014-10-31 exam are posted on the CS notice board on the second floor.

Offline RXminuS

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2014 HT1
« Reply #60 on: 2014-11-14 17:34:32 »
...we have now successfully captured a deep space asteroid into orbit and are studying it's inner core to find the origin of life in the universe. During studies, scientists stumbled upon a weird material never seen before. As it turns out, it was the heart of the asteroid and touching it made the asteroid very very angry. It has send out a distress signal throughout the universe for other interstellar bodies to come and destroy the base built upon it's surface .

OMG, my game is coming true http://www.iflscience.com/space/rosetta-s-comet-sounds-lot-predator :P

 

joke