Author Topic: EDA221 - Introduction to 3D 2015 HT1  (Read 19808 times)

Offline MikeD

  • Full Member
  • ***
  • Posts: 207
EDA221 - Introduction to 3D 2015 HT1
« on: 2015-08-24 11:42:17 »
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):
2014 forum: http://forum.student.lth.se/index.php/topic,11802.0.html
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

Offline Elliot Jalgard

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2015 HT1
« Reply #1 on: 2015-09-04 10:33:43 »
I'm looking for a lab partner for lab session 4 (Thursdays 13-15), Swedish or international student does not matter.

Contact me at ada10eja@student.lu.se

Offline dat11cje

  • Newbie
  • *
  • Posts: 2
Re: EDA221 - Introduction to 3D 2015 HT1
« Reply #2 on: 2015-09-04 18:54:22 »
I'm also looking for a lab partner, but for the thursdays 8-10 sessions. Just send me an email on dat11cje@student.lu.se if interested!

Offline MikeD

  • Full Member
  • ***
  • Posts: 207
Re: EDA221 - Introduction to 3D 2015 HT1
« Reply #3 on: 2015-09-08 11:21:23 »
An updated version of RenderChimp is up on the Assignments web page. It compiles on windows and OSX. For Visual Studio 2013, 2015, just upgrade it when you open the 2010 .sln file.
http://cs.lth.se/eda221/assignments/

Offline dat12fol

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2015 HT1
« Reply #4 on: 2015-09-08 23:20:30 »
Since there are six different versions of Visual Studio, here is a link to the version that actually works (https://go.microsoft.com/fwlink/?LinkId=615464&clcid=0x409) which is the Visual Studio Express 2015 for Windows Desktop.

Offline int15dab

  • Newbie
  • *
  • Posts: 2
Re: EDA221 - Introduction to 3D 2015 HT1
« Reply #5 on: 2015-09-11 16:27:51 »
Hi, I'm looking for a lab partner for the Thursday 8-10 sessions. If somebody is interested, please contact me at int15dab@student.lu.se

Offline lan11fch

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2015 HT1
« Reply #6 on: 2015-09-14 20:48:03 »
Hi, I'm lookng for a lab partner for the Thursday 8-10 session. Send me an email if you are interested! lan11fch@student.lu.se

Offline int15rg1

  • Newbie
  • *
  • Posts: 2
Re: EDA221: Problems with RenderChimp
« Reply #7 on: 2015-09-28 10:32:15 »
Hello,

I am suddenly experiencing problems with RenderChimp. Whenever I attempt to run the program, I get this exception:

RenderChimp.pdb not loaded

I am running on a PC with VisualStudios 2015.
Has anyone experienced this before and knows how to solve it?

Thank you for your time and assistance!

Offline tfy11dch

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2015 HT1
« Reply #8 on: 2015-09-28 15:41:06 »
Hi there!

We have been experiencing some issues with our fragment shader. The dot-products when calculating our reflection vectors, specularity vectors etc, all seem to yield negative values or zeros, as the "max" operator always returns the specified comparison number (0). Is anyone experiencing the same issue or have any ideas on how to resolve this?

Thanks in advance!


Edit: Solved it. Tip of the Day: Remember to only declare your variables once.
« Last Edit: 2015-09-28 16:33:40 by tfy11dch »

Offline OscarES

  • Newbie
  • *
  • Posts: 4
Re: EDA221 - Introduction to 3D 2015 HT1
« Reply #9 on: 2015-09-28 15:57:50 »
Hi,
how does one transpose a vec2f vector in renderChimp?

Offline int15rg1

  • Newbie
  • *
  • Posts: 2
Re: EDA221 - Introduction to 3D 2015 HT1
« Reply #10 on: 2015-09-28 19:27:32 »
Hello,

I have been having a problem all day, which is that when I apply the phong shader to an object, it just doesn't appear.
I have tried everything I could think of and check my code for the vs and fs and am almost positive it is correct. 

What could be causing this issue?

Thank you.


Offline Pierre Moreau

  • Full Member
  • ***
  • Posts: 146
Re: EDA221: Problems with RenderChimp
« Reply #11 on: 2015-09-29 20:17:06 »
I am suddenly experiencing problems with RenderChimp. Whenever I attempt to run the program, I get this exception:

RenderChimp.pdb not loaded

Hello,

Are you running in Release mode and trying to run the debugger? You should be able to switch away from release mode by going to the combo box showing OpenGL, in the toolbar, and switching to "OpenGL Debug". Otherwise, ctrl+F5 should simply run the program without the debugger attached.


I have been having a problem all day, which is that when I apply the phong shader to an object, it just doesn't appear.
I have tried everything I could think of and check my code for the vs and fs and am almost positive it is correct. 

I assume that RenderChimp managed to compile your phong shader, as RenderChimp seems to default to a bright white color for all objects using a shader that failed to compile, and you would have seen warning messages. I also assume that you checked your normals were correct by using the Normals shader. You should debug it step by step, by first setting gl_FragColor (or the corresponding out value of your fragment shader) to vec4(1.0, 0.0, 0.0, 1.0) and check that objects are completely red. Then, check each of the phong components by setting gl_FragColor to their respective values, one at a time (ambient, specular, shininess). If everything looks correct, move on to add the factors to the various components, and still test each phong component individually.


how does one transpose a vec2f vector in renderChimp?

Hello,

Transposing a vector doesn't do anything. However, if your vec2f represents a point, then just add the transpose vector to your vec2f point.

Offline tfy11dch

  • Newbie
  • *
  • Posts: 3
Re: EDA221 - Introduction to 3D 2015 HT1
« Reply #12 on: 2015-10-13 12:35:36 »
Hi there!
During the weekend it appears that our shaders went for holiday, as they appear to no longer be "valid", according to the error reports. Any ideas on what could be causing these errors? We're especially having problems with our Skybox shader, giving the error message "Shader is no longer valid", despite essentially the exact same shader being used a few lines up without any errors.

We have not made any changes to the code since we had the assignment approved.

Offline dat11vro

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2015 HT1
« Reply #13 on: 2015-10-13 13:35:36 »


Air Race
By Valdemar Roxling & Anton Klarén

Race your way through the checkpoints as fast as you can or enjoy the view while flying over a never-ending beautiful ocean.
Featuring a complete pitch-roll steering of the plane, joystick-style. You can do loops, barrel-rolls or just cruise any way you want.
You can also control the speed, and you are affected by gravity.

This game is written in our own graphics engine (not RenderChimp) and the latest source code can be found here: https://github.com/Roxling/smegod (VS15 project)

Offline aferguson

  • Newbie
  • *
  • Posts: 1
Re: EDA221 - Introduction to 3D 2015 HT1
« Reply #14 on: 2015-10-13 20:36:50 »

Asteroid Attack
Created by: Ryan Gurney & Andrew Ferguson

Objectives
Dodge and shoot asteroids in your mission to fight through an asteroid field. Keep asteroids from getting past you!

Features
Spaceship with strafing abilities to the right and left!
Spinning asteroid balls of varying sizes!
Collision Detection!
Ability to shoot red balls in a straight line!

Controls
Move: A & D
Shoot:  .  (period)

 

joke