Thursday, May 26, 2011

Day 54

Today, I continued working on the rocks layer interaction.


However, I encountered a collision issue with the terrain. The arc that broke apart doesn't collide with the terrain. It just goes through it.

Below is how it looks,



The video,



I tried all kinds of method, I also did a test using a sphere, it worked through.

Below is how it looks,


Out of a sudden, I do not know what did I do and suddenly it worked. But the pieces are behaving quite crazily.




I then proceed on trying to delete the sphere after the dopnetwork. There seem to be an issue if I'm gonna do it procedurally. The issue is because, the groups get all totally renamed into something else. And the problem is I do not know which is the group that is the sphere.


Mr Michael suggested doing it the manual way, which is just drag over the sphere and delete in the viewport. It somehow worked.

Before:



 After:



I did a simulation to check if it collides and it seems like it does. I then happily went and did a rop.


 Little did I know that there is a huge problem awaiting me....

I then did a playblast of the result. This is what I get:


As you can see, there are a couple of serious issues that needs to be dealt with.

1) The erratic behaviour of the arc pieces colliding.
2) The spheres which appears at the back for no particular reason.

I consulted Jia bao on problem 2 first, he told me that I needed to turn off the display flag of the sphere before I do my rop. But the thing is I did my sphere, dops inside the geometry level, which doesn't have the display flag for it.

He helped me try to put a ends node at the end of the sphere and hopefully it will be seen as wireframe and it will not render out as a object. But unfortunately it didn't worked. He pointed to me Peter Quint's fracturing file as a reference. I will not dive into the scene but it should look familiar,




After browsing through, I decided to redo my entire dops in the scene level. I did it in a entire new file, hopefully it will help make things work and speed up the whole scene.


I somehow manage to delete the sphere using the procedural way. But however, I have problems with the collisions.


Below are some test simulations which are screwed.



I also realised that all rocks even arcs present in the scene have to have a initial gravity acting on it and they had to be all dynamic objects, if not when the pieces are falling, the rocks will float in mid-air. That proved to be a major issue as all the rocks and arc are interpenetrating the terrain, which makes converting them into dynamic objects harder.


It is 4am in the morning now. And until now, I haven't even had a single problem solved. I decided to do one last test and if it still doesn't work, I will scrape the entire idea of the rocks and arc on the terrain.

The last test:



Okay, so officially it doesn't work. Screw it man!

So now, I will scrape the entire idea like promised. I then went over and rop out the terrain simulations with the falling pieces with a color node and a vertex node to clean the fracture lines.

After that, I went into Jia Bao's lighting file and update the new files inside and did a test render. At first, it didn't show anything but after some debugging, It worked.


At 4.45am, I officially put it to render. I then went to sleep. God knows when it will finish rendering.




Back tracking now!


Earlier in the day, I encountered a up-resing issue for my terrain. At that point of time, Mr TK and Mr Michael was around and I brought up the problem to them. Mr TK suggested upresing the paint node and then using another paint node to show the up-resed paint data.

It worked! I double confirmed with Mr Ron regarding that up-resing method, and he said it will work.

Unfortunately, I will not be using this method for the final video on Friday.

Before:




















After:

No comments:

Post a Comment