22 Commits
Author SHA1 Message Date
kennyboy55 9941b03fdc Windows fix 2016-06-22 08:34:48 +02:00
jancoow 9031873721 fixed ice 2016-06-22 03:41:52 +02:00
kennyboy55 fd2aadfdf7 Damage bugfix 2016-06-22 03:34:49 +02:00
Janco Kock 4dd6aef904 Merge pull request #33 from CrystalPointA4/feature/weaponCollision
Feature/weapon collision
2016-06-22 03:31:16 +02:00
jancoow a1a0028f5a Merge branch 'developer' into feature/weaponCollision 2016-06-22 03:30:47 +02:00
Janco Kock c06298f78f Merge pull request #32 from CrystalPointA4/revertLoadingscreenShit
Revert loadingscreen shit
2016-06-22 03:30:21 +02:00
jancoow 858ffc8fde Merge branch 'developer' into revertLoadingscreenShit 2016-06-22 03:29:37 +02:00
jancoow 1da4dedcea Fixed wrong weapon drawing and removed old hit code 2016-06-22 03:28:18 +02:00
Dofensmirtsz 297f8a456c world volgorde 2016-06-22 03:28:14 +02:00
kennyboy55 3b131e949d Merge branch 'developer' into revertLoadingscreenShit
# Conflicts:
#	Weapon.cpp
#	World.cpp
2016-06-22 03:22:38 +02:00
Dofensmirtsz 2c6132ca17 Object files 2016-06-22 03:21:32 +02:00
kennyboy55 83240e2c57 More fixes 2016-06-22 03:18:13 +02:00
jancoow 2bab7e05f8 More fixing... 2016-06-22 03:09:43 +02:00
jancoow 92460b8ca4 Merge pull request #31 from CrystalPointA4/feature/loadingscreen
Feature/loadingscreen (reverted from commit 316d6c9e14)
2016-06-22 03:09:28 +02:00
Dofensmirtsz 2ebff1b3dc dubbel kristal 2016-06-22 03:08:33 +02:00
kennyboy55 b6b42b3afc Merge remote-tracking branch 'origin/developer' into developer
# Conflicts:
#	worlds/worlds.json
2016-06-22 03:03:20 +02:00
kennyboy55 e7c7dbaf39 bugfixes 2016-06-22 03:02:51 +02:00
Jannick van Ballegooijen 9a31e09bff added trees 2016-06-22 03:00:39 +02:00
jancoow 2230682a85 Added rumble on enemy hit, added try for teleport 2016-06-22 02:58:45 +02:00
Dofensmirtsz c5e7117bac Merge branch 'FireWorld' into developer 2016-06-22 02:57:38 +02:00
kennyboy55 cfb8a7ada8 Merge remote-tracking branch 'origin/developer' into developer 2016-06-22 02:55:46 +02:00
kennyboy55 42cffd796d bugfix 2016-06-22 02:55:22 +02:00
60 changed files with 65560 additions and 219 deletions
+1
View File
@@ -9,6 +9,7 @@ public:
Vec3f ypr;
Vec2f joystick;
bool button, joystickButton, magnetSwitch;
bool lastButton, lastJoystickButton, lastMagetSwitch;
int controllerId;
void setConnected(bool connected);
+10 -3
View File
@@ -57,7 +57,9 @@ void ControllerHandler::SearchBasestation(void){
while( iter != devices_found.end() )
{
serial::PortInfo device = *iter++;
if(device.hardware_id == "USB VID:PID=10c4:ea60 SNR=02133"){
std::cout << device.hardware_id << " "<< device.port << std::endl;
if(device.hardware_id == "USB\\VID_10C4&PID_EA60&REV_0100"){
basestationFound = true;
baseStation = new serial::Serial(device.port, BasestationBaudrate, serial::Timeout::simpleTimeout(1000));
break;
@@ -92,7 +94,7 @@ void ControllerHandler::BasestationReader() {
std::string basestationMessage = baseStation->readline();
std::vector<std::string> basestationMessageSplit = split(basestationMessage, '|');
if(basestationMessageSplit.size() > 1){ //Valid message
std::cout << "DEBUG: Message received. Length: " << basestationMessageSplit.size() << " Type: " << basestationMessageSplit[0] << " Message: " << basestationMessage;
//std::cout << "DEBUG: Message received. Length: " << basestationMessageSplit.size() << " Type: " << basestationMessageSplit[0] << " Message: " << basestationMessage;
int messageId = std::stoi(basestationMessageSplit[0]);
switch(messageId){
//commandList[messageId](basestationMessageSplit);
@@ -120,8 +122,13 @@ void ControllerHandler::commandControllerData(std::vector<std::string> data) {
c->joystick.x = std::stoi(data[2])/2000.0f;
c->joystick.y = std::stoi(data[3])/2000.0f;
c->joystickButton = !(data[4] == "0");
c->lastButton = c->button;
c->lastJoystickButton = c->joystickButton;
c->lastMagetSwitch = c->magnetSwitch;
c->joystickButton = !(data[4] == "0");
c->button = !(data[8] == "0");
c->magnetSwitch = !(data[9] == "0");
}
}
+1 -1
View File
@@ -40,7 +40,7 @@ Crystal::~Crystal()
void Crystal::draw()
{
crystalRot -= 3.0f;
crystalRot -= 0.5f;
rotation = Vec3f(0, crystalRot, 0);
Entity::draw();
}
+73 -37
View File
@@ -24,7 +24,7 @@ void CrystalPoint::init()
cursor = Cursor::getInstance();
menu = new Menu();
menuIsBuild = false;
buildMenu();
lastFrameTime = 0;
state = true;
@@ -64,7 +64,10 @@ void CrystalPoint::update()
lastFrameTime = frameTime;
if (keyboardState.keys[27] && !prevKeyboardState.keys[27])
state = !state;
state = !state;
Controller *rightcontroller = controller.getRightController();
Controller *leftcontroller = controller.getLeftController();
if (state)
{
@@ -75,7 +78,7 @@ void CrystalPoint::update()
if (keyboardState.special[GLUT_KEY_RIGHT] && !prevKeyboardState.special[GLUT_KEY_RIGHT])
worldhandler->NextWorld();
if (keyboardState.special[GLUT_KEY_UP] && !prevKeyboardState.special[GLUT_KEY_UP])
player->NextLeftWeapon();
player->NextRightWeapon();
if (keyboardState.special[GLUT_KEY_DOWN] && !prevKeyboardState.special[GLUT_KEY_DOWN])
player->PreviousLeftWeapon();
if (keyboardState.keys[27])
@@ -103,42 +106,70 @@ void CrystalPoint::update()
if (keyboardState.keys['q']) player->setPosition(1, deltaTime*speed, true);
if (keyboardState.keys['e']) player->setPosition(-1, deltaTime*speed, true);
Controller *leftcontroller = controller.getLeftController();
if (leftcontroller != nullptr) {
Vec2f *leftControllerJoystick = &leftcontroller->joystick;
if (leftcontroller->joystickButton) {
controller.rumble(leftcontroller->controllerId, 100, 100);
if (leftControllerJoystick->y > 0.3 || leftControllerJoystick->y < -0.3) {
player->rotation.x += leftControllerJoystick->y/4;
}
if (leftControllerJoystick->y > 0.3) {
player->setPosition(270, leftControllerJoystick->y * deltaTime * 2.0f, false);
}
else if (leftControllerJoystick->y < -0.3) {
player->setPosition(90, leftControllerJoystick->y * -1 * deltaTime * 2.0f, false);
}
if (leftControllerJoystick->x > 0.3) {
player->setPosition(180, leftControllerJoystick->x * deltaTime * 2.0f, false);
}
else if (leftControllerJoystick->x < -0.3) {
player->setPosition(0, leftControllerJoystick->x * -1 * deltaTime * 2.0f, false);
if (leftControllerJoystick->x > 0.3 || leftControllerJoystick->x < -0.3) {
player->rotation.y += leftControllerJoystick->x/4;
}
player->leftWeapon->rotateWeapon(Vec3f(leftcontroller->ypr.y + 140, 0, -leftcontroller->ypr.z));
if(leftcontroller->button && leftcontroller->joystickButton){
state = !state;
}else if(!leftcontroller->lastButton && leftcontroller->button){
leftcontroller->lastButton = leftcontroller->button;
controller.rumble(leftcontroller->controllerId, 100, 200);
player->NextLeftWeapon();
}else if(!leftcontroller->lastJoystickButton && leftcontroller->joystickButton){
leftcontroller->lastJoystickButton = leftcontroller->joystickButton;
player->hit = true;
}
if(player->isHit){
controller.rumble(leftcontroller->controllerId, 50, 250);
}
if(!leftcontroller->lastMagetSwitch && leftcontroller->magnetSwitch){
worldhandler -> teleportRandom();
}
}
Controller *rightcontroller = controller.getRightController();
if(rightcontroller != nullptr){
Vec2f *rightControllerJoystick = &rightcontroller->joystick;
if (rightControllerJoystick->y > 0.3 || rightControllerJoystick->y < -0.3) {
player->rotation.x += rightcontroller->joystick.y/4;
if (rightControllerJoystick->y > 0.3) {
player->setPosition(270, rightControllerJoystick->y * deltaTime * 2.0f, false);
}
else if (rightControllerJoystick->y < -0.3) {
player->setPosition(90, rightControllerJoystick->y * -1 * deltaTime * 2.0f, false);
}
if (rightControllerJoystick->x > 0.3) {
player->setPosition(180, rightControllerJoystick->x * deltaTime * 2.0f, false);
}
else if (rightControllerJoystick->x < -0.3) {
player->setPosition(0, rightControllerJoystick->x * -1 * deltaTime * 2.0f, false);
}
if (rightControllerJoystick->x > 0.3 || rightControllerJoystick->x < -0.3) {
player->rotation.y += rightcontroller->joystick.x/4;
}
if(!rightcontroller->lastButton && rightcontroller->button){
rightcontroller->lastButton = rightcontroller->button;
controller.rumble(rightcontroller->controllerId, 100, 200);
player->NextRightWeapon();
}
if(player->isHit){
controller.rumble(rightcontroller->controllerId, 50, 250);
player->isHit = false;
}
if(!rightcontroller->lastMagetSwitch && rightcontroller->magnetSwitch){
worldhandler -> teleportRandom();
}
player->rightWeapon->rotateWeapon(Vec3f(rightcontroller->ypr.y + 140, 0, -rightcontroller->ypr.z));
}
@@ -151,19 +182,25 @@ void CrystalPoint::update()
if (!worldhandler->isPlayerPositionValid())
player->position = oldPosition;
/*else if (player->position.y > oldPosition.y + 1.2)
player->position = oldPosition;
*/
worldhandler->update(deltaTime);
}
else
{
if (!menuIsBuild)
{
buildMenu();
menuIsBuild = true;
}
menu->update();
if (leftcontroller != nullptr) {
Vec2f *leftControllerJoystick = &leftcontroller->joystick;
if (leftControllerJoystick->y > 0.3 || leftControllerJoystick->y < -0.3) {
cursor->update(Vec2f(cursor->mousePosition.x,cursor->mousePosition.y+leftControllerJoystick->y ));
}
if (leftControllerJoystick->x > 0.3 || leftControllerJoystick->x < -0.3) {
cursor->update(Vec2f(cursor->mousePosition.x+leftControllerJoystick->x ,cursor->mousePosition.y));
}
if(leftcontroller->button){
cursor->state = 137;
}else if(cursor->state == 137){
cursor->state = GLUT_UP;
}
}
cursor->update(cursor->mousePosition + mouseOffset);
}
@@ -177,7 +214,7 @@ void CrystalPoint::update()
void CrystalPoint::buildMenu()
{
Button* start = new Button("Resume", Vec2f(width / 2 - 50, height / 2 - 30), 100, 50);
Button* start = new Button("Resume", Vec2f(1920 / 2 - 50, 1080 / 2 - 30), 100, 50);
auto toWorld = [](Button* b)
{
state = true;
@@ -186,14 +223,13 @@ void CrystalPoint::buildMenu()
menu->AddMenuElement(start);
Button* test = new Button("Exit", Vec2f(width / 2 - 50, height / 2 + 30), 100, 50);
Button* test = new Button("Exit", Vec2f(1920 / 2 - 50, 1080 / 2 + 30), 100, 50);
test->addAction([](Button* b)
{
exit(0);
});
menu->AddMenuElement(test);
Text* t = new Text("Pause", Vec2f(width / 2 - Util::glutTextWidth("Pause") / 2, height / 2 - 75));
Text* t = new Text("Pause", Vec2f(1920 / 2 - Util::glutTextWidth("Pause") / 2, 1080 / 2 - 75));
t->setColor(Vec3f(255, 255, 0));
menu->AddMenuElement(t);
}
-1
View File
@@ -43,7 +43,6 @@ public:
static SoundSystem& GetSoundSystem() { return sound_system; }
bool menuIsBuild;
private:
static SoundSystem sound_system;
-2
View File
@@ -170,7 +170,6 @@
<ClCompile Include="lib\serial\src\impl\list_ports\list_ports_win.cc" />
<ClCompile Include="lib\serial\src\impl\win.cc" />
<ClCompile Include="lib\serial\src\serial.cc" />
<ClCompile Include="LoadingScreen.cpp" />
<ClCompile Include="Main.cpp" />
<ClCompile Include="Menu.cpp" />
<ClCompile Include="MenuElement.cpp" />
@@ -204,7 +203,6 @@
<ClInclude Include="lib\serial\include\impl\win.h" />
<ClInclude Include="lib\serial\include\serial.h" />
<ClInclude Include="lib\serial\include\v8stdint.h" />
<ClInclude Include="LoadingScreen.h" />
<ClInclude Include="Main.h" />
<ClInclude Include="Menu.h" />
<ClInclude Include="MenuElement.h" />
-6
View File
@@ -123,9 +123,6 @@
<ClCompile Include="Util.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="LoadingScreen.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="World.h">
@@ -224,9 +221,6 @@
<ClInclude Include="Util.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="LoadingScreen.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="worlds\worlds.json">
+26
View File
@@ -2,6 +2,7 @@
#include <cmath>
#include "Enemy.h"
#include "Model.h"
#include "Player.h"
#include <iostream>
Enemy::Enemy(const std::string &fileName,
@@ -66,6 +67,14 @@ void Enemy::collide(const Entity * entity)
position.z = difference.z + entity->position.z;
}
void Enemy::hit(int damage){
health -= damage;
}
bool Enemy::isDead(){
return health < 0;
}
void Enemy::update(float delta)
{
music->SetPos(position, Vec3f());
@@ -102,4 +111,21 @@ void Enemy::update(float delta)
}
rotation.y = atan2f(dx, dz) * 180 / M_PI;
}
Player *player = Player::getInstance();
/* if(inObject(player->position + player->leftWeapon->collisionPoint)){
if(!isHit){
isHit = true;
hit(player->leftWeapon->damage);
}
std::cout << "HIT1";
}else if(inObject(player->rightWeapon->collisionPoint)){
if(!isHit){
isHit = true;
hit(player->rightWeapon->damage);
}
std::cout << "HIT2";
}else{
isHit = false;
}*/
}
+4
View File
@@ -21,11 +21,15 @@ public:
int xp;
bool attack;
bool isHit;
void update(float);
void draw();
void inEyeSight(Vec3f &);
void collide(const Entity *entity);
void hit(int damage);
bool isDead(void);
private:
int hit_sound_id;
};
-71
View File
@@ -1,71 +0,0 @@
#include "stb_image.h"
#include "LoadingScreen.h"
#include "CrystalPoint.h"
#include "Util.h"
#include <ostream>
LoadingScreen::LoadingScreen()
{
points = 0;
}
LoadingScreen::~LoadingScreen()
{
}
void LoadingScreen::draw()
{
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrtho(0, CrystalPoint::width, CrystalPoint::height, 0, -10, 10);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glDisable(GL_LIGHTING);
glDisable(GL_DEPTH_TEST);
glDisable(GL_COLOR_MATERIAL);
glEnable(GL_TEXTURE_2D);
glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
glBindTexture(GL_TEXTURE_2D, textureId);
glBegin(GL_QUADS);
glTexCoord2f(0, 1);
glVertex2f(0, 0);
glTexCoord2f(0, 0);
glVertex2f(0, CrystalPoint::height);
glTexCoord2f(1, 0);
glVertex2f(CrystalPoint::width, CrystalPoint::height);
glTexCoord2f(1, 1);
glVertex2f(CrystalPoint::width, 0);
glEnd();
/*glColor4f(1.0f, 1.0f, 0.0f, 1.0f);
std::ostringstream oss;
oss << loading << points << std::endl;
Util::glutBitmapString(oss.str(),
CrystalPoint::width / 2 - Util::glutTextWidth(oss.str()),
CrystalPoint::height / 2 - 7);*/
glDisable(GL_TEXTURE_2D);
glEnable(GL_LIGHTING);
glEnable(GL_DEPTH_TEST);
glutSwapBuffers();
}
void LoadingScreen::rise()
{
points++;
draw();
}
void LoadingScreen::setTexture(const std::string filename)
{
textureId = Util::loadTexture(filename);
}
-22
View File
@@ -1,22 +0,0 @@
#pragma once
#include <string>
#include <GL\freeglut.h>
class LoadingScreen
{
public:
LoadingScreen();
~LoadingScreen();
void draw();
void rise();
int points;
GLuint textureId;
void setTexture(const std::string fileName);
private:
const std::string loading = "Loaded: ";
};
+8 -3
View File
@@ -6,7 +6,8 @@
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include <stdlib.h>
#include <time.h>
#include "Cursor.h"
void configureOpenGL(void);
@@ -15,11 +16,15 @@ CrystalPoint* app;
bool justMoved = false;
int main(int argc, char* argv[])
{
app = new CrystalPoint();
glutInit(&argc, argv);
srand (time(NULL));
configureOpenGL();
app->init();
@@ -61,6 +66,7 @@ int main(int argc, char* argv[])
if (button == GLUT_LEFT_BUTTON)
Cursor::getInstance()->state = state;
//std::cout << "Left button is down" << std::endl;
};
@@ -80,8 +86,7 @@ void configureOpenGL()
//Init window and glut display mode
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
glutInitWindowSize(1440, 900);
//glutInitWindowPosition((glutGet(GLUT_SCREEN_WIDTH) / 2) - (glutGet(GLUT_WINDOW_WIDTH) / 2), (glutGet(GLUT_SCREEN_HEIGHT) / 2) - (glutGet(GLUT_WINDOW_HEIGHT) / 2));
//glutInitWindowPosition(glutGet(GLUT_WINDOW_WIDTH) / 2 - 800/2, glutGet(GLUT_WINDOW_HEIGHT) / 2 - 600/2);
glutCreateWindow("Crystal Point");
//glutFullScreen();
+13 -2
View File
@@ -18,6 +18,7 @@ Player::Player()
maxXp = 100;
level = 1;
crystals = 0;
hit = false;
loadWeapons();
@@ -85,6 +86,7 @@ void Player::draw() {
void Player::HpDown(int damage)
{
int newHealth = health - damage;
isHit = true;
if (newHealth <= 0)
{
exit(0);
@@ -150,6 +152,7 @@ void Player::loadWeapons()
std::string name = w["name"].asString();
std::string fileN = w["file"].asString();
float damage = w["damage"].asFloat();
float scale = w["scale"].asFloat();
Weapon::Element e = Weapon::FIRE;
@@ -174,8 +177,8 @@ void Player::loadWeapons()
Vec2f maxRot = Vec2f(w["maxRotation"][0].asFloat(), w["maxRotation"][1].asFloat());
Vec2f minRot = Vec2f(w["minRotation"][0].asFloat(), w["minRotation"][1].asFloat());
lweapon = new Weapon(name, damage, e, fileN, 1, position, rotation, leftoffset, anchor, maxRot, minRot, collision);
rweapon = new Weapon(name, damage, e, fileN, 1, position, rotation, rightoffset, anchor, maxRot, minRot, collision);
lweapon = new Weapon(name, damage, e, fileN, scale, position, rotation, leftoffset, anchor, maxRot, minRot, collision);
rweapon = new Weapon(name, damage, e, fileN, scale, position, rotation, rightoffset, anchor, maxRot, minRot, collision);
leftweapons.push_back(lweapon);
rightweapons.push_back(rweapon);
@@ -191,6 +194,8 @@ void Player::PreviousRightWeapon()
currentrightweapon = (rightweapons.size() > level ? level - 1 : rightweapons.size() - 1);
rightWeapon = rightweapons[currentrightweapon];
rightWeapon->move(position);
rightWeapon->rotate(rotation);
}
void Player::NextRightWeapon(void)
{
@@ -200,6 +205,8 @@ void Player::NextRightWeapon(void)
currentrightweapon = 0;
rightWeapon = rightweapons[currentrightweapon];
rightWeapon->move(position);
rightWeapon->rotate(rotation);
}
void Player::PreviousLeftWeapon(void)
{
@@ -209,6 +216,8 @@ void Player::PreviousLeftWeapon(void)
currentleftweapon = (leftweapons.size() > level ? level - 1 : leftweapons.size() - 1);
leftWeapon = leftweapons[currentleftweapon];
leftWeapon->move(position);
leftWeapon->rotate(rotation);
}
void Player::NextLeftWeapon(void)
{
@@ -218,4 +227,6 @@ void Player::NextLeftWeapon(void)
currentleftweapon = 0;
leftWeapon = leftweapons[currentleftweapon];
leftWeapon->move(position);
leftWeapon->rotate(rotation);
}
+3
View File
@@ -40,6 +40,9 @@ public:
int level;
int crystals;
bool hit;
bool isHit;
float speed;
void HpUp(int);
+1
View File
@@ -2,6 +2,7 @@
#include <cmath>
#include "Vector.h"
Vec3f::Vec3f(float x, float y, float z)
{
this->x = x;
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+30 -14
View File
@@ -27,7 +27,8 @@ Weapon::Weapon(std::string name, int damage, Element e, std::string modelFilenam
this->ankerPoint = ankerPoint;
this->maxRotation = maxRotation;
this->minRotation = minRotation;
this->collision = collision;
this->collisionPoint = collisionPoint;
};
Weapon::~Weapon(){
@@ -52,11 +53,28 @@ void Weapon::move(Vec3f location){
position = location;
}
Vec3f multiply(float matrix[16], Vec3f vec)
{
Vec3f result;
for(int i = 0; i < 4; i++)
{
for(int p = 0; p < 4; p++)
{
result[i] += matrix[i * p] * vec[p];
}
}
return result;
}
void Weapon::draw(){
if (weaponmodel != nullptr)
{
glPushMatrix();
//Player position and rotation
glTranslatef(position.x, position.y, position.z);
glRotatef(rotation.x, 1, 0, 0);
@@ -66,6 +84,8 @@ void Weapon::draw(){
//offset from player
glTranslatef(offsetPlayer.x, offsetPlayer.y, offsetPlayer.z);
glScalef(scale, scale, scale);
//Rotate weapon itself, from specific anker point
glTranslatef(ankerPoint.x, ankerPoint.y, ankerPoint.z);
glRotatef(rotationWeapon.z, 0, 0, 1);
@@ -73,21 +93,17 @@ void Weapon::draw(){
glRotatef(rotationWeapon.x, 1, 0, 0);
glTranslatef(-ankerPoint.x, -ankerPoint.y, -ankerPoint.z);
glScalef(scale, scale, scale);
weaponmodel->draw();
//Test code for finding anker point
glColor3ub(255, 255, 0);
glTranslatef(ankerPoint.x, ankerPoint.y, ankerPoint.z);
glBegin(GL_LINES);
glVertex2f(0, 4);
glVertex2f(0, -4);
glVertex2f(4, 0);
glVertex2f(-4, 0);
glEnd();
weaponmodel->draw();
glPopMatrix();
glPushMatrix();
glPopMatrix();
}
}
+3 -2
View File
@@ -16,7 +16,7 @@ public:
Weapon(std::string name, int damage, Element element, std::string modelFilename, float scale, Vec3f location, Vec2f rotation,
Vec3f offsetPlayer, Vec3f ankerPoint,
Vec2f maxRotation, Vec2f minXRotation,
Vec3f collision);
Vec3f collisionPoint);
~Weapon();
void draw();
@@ -32,8 +32,9 @@ public:
float scale;
Vec3f position, rotation, rotationWeapon;
Vec3f offsetPlayer, ankerPoint, collision;
Vec3f offsetPlayer, ankerPoint, collisionPoint;
Vec2f maxRotation, minRotation;
};
+24 -34
View File
@@ -6,6 +6,8 @@
#include <fstream>
#include <iostream>
#include <algorithm>
#include <stdlib.h>
#include <cstdlib>
#include "WorldHandler.h"
World::World(const std::string &fileName)
@@ -15,11 +17,9 @@ World::World(const std::string &fileName)
//Store player instance
player = Player::getInstance();
//Create the interface
interface = new Interface();
//Open world json file
std::ifstream file(fileName);
if(!file.is_open())
@@ -28,7 +28,6 @@ World::World(const std::string &fileName)
json::Value v = json::readJson(file);
file.close();
//Check file
if(v["world"].isNull() || v["world"]["heightmap"].isNull() || v["world"]["skybox"].isNull())
std::cout << "Invalid world file: world - " << fileName << "\n";
@@ -43,13 +42,6 @@ World::World(const std::string &fileName)
if (v["crystal"].isNull())
std::cout << "Invalid world file: crystals - " << fileName << "\n";
if (!v["world"]["loadingscreen"].isNull())
{
ls.setTexture(v["world"]["loadingscreen"].asString());
ls.draw();
}
//Load object templates
for (auto objt : v["world"]["object-templates"])
{
@@ -59,29 +51,24 @@ World::World(const std::string &fileName)
cancollide = objt["collision"].asBool();
objecttemplates.push_back(std::pair<int, std::pair<std::string, bool>>(objt["color"], std::pair<std::string, bool>(objt["file"], cancollide)));
}
//Generate heightmap for this world
heightmap = new HeightMap(v["world"]["heightmap"].asString(), this);
//Load skybox
skybox = new Skybox(15000.0f, v["world"]["skybox"].asString());
skybox->init();
//Map different texture to heightmap if available
if(!v["world"]["texture"].isNull())
heightmap->SetTexture(v["world"]["texture"].asString());
//Set player starting position
player->position.x = v["player"]["startposition"][0].asFloat();
player->position.z = v["player"]["startposition"][2].asFloat();
player->position.y = heightmap->GetHeight(player->position.x, player->position.z);
//Load and place objects into world
for (auto object : v["objects"])
{
@@ -113,7 +100,6 @@ World::World(const std::string &fileName)
position.y = getHeight(position.x, position.z);
entities.push_back(new LevelObject(object["file"].asString(), position, rotation, scale, hasCollision));
}
maxEnemies = 0;
@@ -156,7 +142,6 @@ World::World(const std::string &fileName)
maxEnemies++;
enemies.push_back(new Enemy(e["file"].asString(), e["music"].asString(), e["damage"].asFloat(), e["health"].asFloat(), position, rotation, scale));
}
maxCrystals = 0;
if (!v["crystal"].isNull())
@@ -200,7 +185,6 @@ World::World(const std::string &fileName)
Crystal *c = new Crystal(filled, empty, position, rotation, scale);
entities.push_back(c);
}
interface->maxCrystals = maxCrystals;
}
@@ -210,7 +194,6 @@ World::World(const std::string &fileName)
{
sound_id = CrystalPoint::GetSoundSystem().LoadSound(v["world"]["music"].asString().c_str(), true);
music = CrystalPoint::GetSoundSystem().GetSound(sound_id);
}
if (!v["portal"].isNull())
@@ -236,11 +219,15 @@ World::World(const std::string &fileName)
portal = new Portal(v["portal"]["file"], pos, rot, scale);
entities.push_back(portal);
portal->maxCrystals = maxCrystals;
}
}
Vec2f World::randomPosition(void){
int randNum = rand()%(entities.size() + 1);
Vec3f position = entities[randNum]->position;
Vec2f position2 = Vec2f(position.x+100, position.y+100);
return position2;
}
World::~World()
{
delete heightmap;
@@ -268,7 +255,7 @@ float World::getHeight(float x, float y)
void World::draw()
{
player->setCamera();
float lightPosition[4] = { 0, 2, 1, 0 };
glLightfv(GL_LIGHT0, GL_POSITION, lightPosition);
@@ -281,9 +268,6 @@ void World::draw()
GLfloat mat_specular[] = { 0.15, 0.15, 0.15, 0 };
glMaterialfv(GL_FRONT, GL_SPECULAR, mat_specular);
player->setCamera();
skybox->draw();
player->draw();
@@ -328,6 +312,9 @@ void World::update(float elapsedTime)
enemy->update(elapsedTime);
if (enemy->hasTarget)
{
if(player->hit)
enemy->hit(player->leftWeapon->damage);
for (auto e : entities)
{
if (e->canCollide && e->inObject(enemy->position))
@@ -336,24 +323,24 @@ void World::update(float elapsedTime)
break;
}
}
}
if (enemy->attack)
{
if (enemy->attack)
{
player->HpDown(enemy->damage);
}
}
enemy->position.y = getHeight(enemy->position.x, enemy->position.z) + 0.5f;
if (enemy->isDead())
remove = true;
continue;
}
enemy->position.y = getHeight(enemy->position.x, enemy->position.z);
if(!remove)
count++;
}
if (remove)
{
player->XpUp(enemies[count]->xp);
delete enemies[count];
player->XpUp(enemies[count]->xp*2);
enemies.erase(enemies.begin() + count);
player->HpUp(10);
}
@@ -366,6 +353,8 @@ void World::update(float elapsedTime)
nextworld = true;
}
player->hit = false;
}
void World::addLevelObject(LevelObject* obj)
@@ -385,3 +374,4 @@ bool World::isPlayerPositionValid()
}
return true;
}
+1 -3
View File
@@ -10,7 +10,6 @@
#include "Skybox.h"
#include "CrystalPoint.h"
#include "Portal.h"
#include "LoadingScreen.h"
class Entity;
@@ -33,8 +32,6 @@ private:
std::vector<Entity*> entities;
std::vector<Enemy*> enemies;
//std::vector<Crystal*> crystals;
LoadingScreen ls;
public:
World(const std::string &fileName);
~World();
@@ -44,6 +41,7 @@ public:
bool isPlayerPositionValid();
float getHeight(float x, float y);
void addLevelObject(LevelObject* obj);
Vec2f randomPosition(void);
std::pair<std::string, bool> getObjectFromValue(int i);
};
+7
View File
@@ -93,6 +93,13 @@ void WorldHandler::update(float deltaTime)
world->update(deltaTime);
}
void WorldHandler::teleportRandom(){
Vec2f randomposition = world->randomPosition();
printf("test %d %d", randomposition.x, randomposition.y);
Player::getInstance()->position = Vec3f(randomposition.x, randomposition.y, world->getHeight(randomposition.x, randomposition.y));
Player::getInstance()->setPosition(50,50,true);
}
bool WorldHandler::isPlayerPositionValid(void)
{
if(!loadingWorld)
+1
View File
@@ -23,6 +23,7 @@ public:
void draw(void);
void update(float deltaTime);
void teleportRandom();
bool isPlayerPositionValid(void);
float getHeight(float x, float y);
+2603
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+59
View File
@@ -0,0 +1,59 @@
# This file uses centimeters as units for non-parametric coordinates.
mtllib Cube.mtl
g default
v -0.500000 -0.500000 0.500000
v 0.500000 -0.500000 0.500000
v -0.500000 0.500000 0.500000
v 0.500000 0.500000 0.500000
v -0.500000 0.500000 -0.500000
v 0.500000 0.500000 -0.500000
v -0.500000 -0.500000 -0.500000
v 0.500000 -0.500000 -0.500000
vt 0.375000 0.000000
vt 0.625000 0.000000
vt 0.375000 0.250000
vt 0.625000 0.250000
vt 0.375000 0.500000
vt 0.625000 0.500000
vt 0.375000 0.750000
vt 0.625000 0.750000
vt 0.375000 1.000000
vt 0.625000 1.000000
vt 0.875000 0.000000
vt 0.875000 0.250000
vt 0.125000 0.000000
vt 0.125000 0.250000
vn 0.000000 0.000000 1.000000
vn 0.000000 0.000000 1.000000
vn 0.000000 0.000000 1.000000
vn 0.000000 0.000000 1.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 0.000000 -1.000000
vn 0.000000 -1.000000 0.000000
vn 0.000000 -1.000000 0.000000
vn 0.000000 -1.000000 0.000000
vn 0.000000 -1.000000 0.000000
vn 1.000000 0.000000 0.000000
vn 1.000000 0.000000 0.000000
vn 1.000000 0.000000 0.000000
vn 1.000000 0.000000 0.000000
vn -1.000000 0.000000 0.000000
vn -1.000000 0.000000 0.000000
vn -1.000000 0.000000 0.000000
vn -1.000000 0.000000 0.000000
s off
g pCube1
usemtl initialShadingGroup
f 1/1/1 2/2/2 4/4/3 3/3/4
f 3/3/5 4/4/6 6/6/7 5/5/8
f 5/5/9 6/6/10 8/8/11 7/7/12
f 7/7/13 8/8/14 2/10/15 1/9/16
f 2/2/17 8/11/18 6/12/19 4/4/20
f 7/13/21 1/1/22 3/3/23 5/14/24
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 361 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

+12
View File
@@ -0,0 +1,12 @@
# WaveFront *.mtl file (generated by CINEMA 4D)
newmtl Mat
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd Groen_1.png
illum 7
newmtl Mat.1
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd Bruin.png
illum 7
+478
View File
@@ -0,0 +1,478 @@
# WaveFront *.obj file (generated by CINEMA 4D)
mtllib ./tree1.mtl
v -1.24235423558039 6.41245259173359 1.73544112875567
v -1.24235423558038 5.37573338375617 1.30433252514800
v -0.39880969214413 5.70839009706014 1.96646050267696
v -0.57295418026973 5.28249848785093 2.99063401275938
v -1.52412593632106 5.72334549250970 3.39258867844630
v -1.52412593632106 4.68662628453229 2.96148007483863
v -2.36767047975732 5.39068877920574 2.73046070091734
v -2.19352599163172 5.81658038841494 1.70628719083492
v -0.82864224932734 6.35483025712659 2.77763276337901
v -1.93783792257411 6.42169553443661 2.61683681369500
v -1.93783792257410 4.74424861913928 1.91928844021529
v -0.82864224932734 4.67738334182926 2.08008438989929
# 12 vertices
vt 0.00000000000000 -0.00000000000000 0.00000000000000
vt 1.00000000000000 -0.00000000000000 0.00000000000000
vt 0.50000000000000 -1.00000000000000 0.00000000000000
# 3 texture coordinates
o Platonic.4
usemtl Mat
f 10/1 9/2 1/3
f 9/1 3/2 1/3
f 9/1 4/2 3/3
f 9/1 5/2 4/3
f 9/1 10/2 5/3
f 5/1 10/2 7/3
f 7/1 10/2 8/3
f 10/1 1/2 8/3
f 12/1 11/2 2/3
f 3/1 12/2 2/3
f 3/1 4/2 12/3
f 4/1 6/2 12/3
f 6/1 11/2 12/3
f 6/1 7/2 11/3
f 7/1 8/2 11/3
f 8/1 2/2 11/3
f 2/1 8/2 1/3
f 3/1 2/2 1/3
f 5/1 6/2 4/3
f 5/1 7/2 6/3
v -0.77150120306034 8.04858110514051 -0.58997606175297
v -0.77150120306034 6.24427347540975 -1.19657334469352
v 0.76849962936640 6.95897842110483 -0.33571298255606
v 0.76849962936640 6.35238113816428 1.46859464717470
v -0.77150120306034 7.06708608385936 2.32945500931217
v -0.77150120306034 5.26277845412860 1.72285772637161
v -2.31150203548708 6.35238113816428 1.46859464717470
v -2.31150203548708 6.95897842110483 -0.33571298255606
v 0.18027165408251 8.11539531516712 1.05718834294990
v -1.72327406020320 8.11539531516712 1.05718834294990
v -1.72327406020320 5.19596424410199 0.07569332166875
v 0.18027165408251 5.19596424410199 0.07569332166875
# 12 vertices
# 0 texture coordinate
o Platonic.3
usemtl Mat
f 22/1 21/2 13/3
f 21/1 15/2 13/3
f 21/1 16/2 15/3
f 21/1 17/2 16/3
f 21/1 22/2 17/3
f 17/1 22/2 19/3
f 19/1 22/2 20/3
f 22/1 13/2 20/3
f 24/1 23/2 14/3
f 15/1 24/2 14/3
f 15/1 16/2 24/3
f 16/1 18/2 24/3
f 18/1 23/2 24/3
f 18/1 19/2 23/3
f 19/1 20/2 23/3
f 20/1 14/2 23/3
f 14/1 20/2 13/3
f 15/1 14/2 13/3
f 17/1 18/2 16/3
f 17/1 19/2 18/3
v -0.98913458547754 4.68882818882168 -2.16281117680024
v -0.98913458547754 3.74824469248918 -1.83175745913806
v -0.27168896700711 4.37810221252871 -1.54392909615370
v -0.49452097313084 4.70078381170267 -0.62713230288246
v -1.34968434516706 5.21093798382931 -0.67940280451046
v -1.34968434516706 4.27035448749681 -0.34834908684829
v -2.06712996363748 4.58108046378978 -0.96723116749482
v -1.84429795751375 4.25839886461582 -1.88402796076606
v -0.68344656174892 5.27752974010950 -1.41831188653112
v -1.65537236889568 5.20354900253218 -1.62850454439681
v -1.65537236889568 3.68165293620899 -1.09284837711740
v -0.68344656174892 3.75563367378631 -0.88265571925171
# 12 vertices
# 0 texture coordinate
o Platonic.2
usemtl Mat
f 34/1 33/2 25/3
f 33/1 27/2 25/3
f 33/1 28/2 27/3
f 33/1 29/2 28/3
f 33/1 34/2 29/3
f 29/1 34/2 31/3
f 31/1 34/2 32/3
f 34/1 25/2 32/3
f 36/1 35/2 26/3
f 27/1 36/2 26/3
f 27/1 28/2 36/3
f 28/1 30/2 36/3
f 30/1 35/2 36/3
f 30/1 31/2 35/3
f 31/1 32/2 35/3
f 32/1 26/2 35/3
f 26/1 32/2 25/3
f 27/1 26/2 25/3
f 29/1 30/2 28/3
f 29/1 31/2 30/3
v 0.62394505772953 5.94431501979733 -1.41702326809472
v 0.62394505772953 4.82159308684731 -1.15586016881769
v 1.61256542993587 5.35159045136135 -1.42127165390790
v 2.16922208454817 5.58028218070681 -0.43814187358598
v 1.52463444495606 6.31434601082428 0.17371413181837
v 1.52463444495606 5.19162407787425 0.43487723109540
v 0.53601407274972 5.78434864631023 0.43912561690858
v -0.02064258186258 5.55565691696477 -0.54400416341334
v 1.57897878233784 6.41321066669636 -0.97344896729389
v 0.56960072034775 6.53933067840333 -0.43126784094293
v 0.56960072034775 4.72272843097522 -0.00869706970543
v 1.57897878233783 4.59660841926825 -0.55087819605639
# 12 vertices
# 0 texture coordinate
o Platonic.1
usemtl Mat
f 46/1 45/2 37/3
f 45/1 39/2 37/3
f 45/1 40/2 39/3
f 45/1 41/2 40/3
f 45/1 46/2 41/3
f 41/1 46/2 43/3
f 43/1 46/2 44/3
f 46/1 37/2 44/3
f 48/1 47/2 38/3
f 39/1 48/2 38/3
f 39/1 40/2 48/3
f 40/1 42/2 48/3
f 42/1 47/2 48/3
f 42/1 43/2 47/3
f 43/1 44/2 47/3
f 44/1 38/2 47/3
f 38/1 44/2 37/3
f 39/1 38/2 37/3
f 41/1 42/2 40/3
f 41/1 43/2 42/3
v -0.47583662442670 5.11473864491041 1.15052415689974
v -0.47583662442670 4.48554150205327 1.15052415689974
v 0.03319455695689 4.80014007348184 1.34495676685476
v 0.03319455695689 4.80014007348184 1.97415390971190
v -0.47583662442670 5.11473864491041 2.16858651966692
v -0.47583662442670 4.48554150205327 2.16858651966692
v -0.98486780581028 4.80014007348184 1.97415390971190
v -0.98486780581028 4.80014007348184 1.34495676685476
v -0.16123805299812 5.30917125486543 1.65955533828333
v -0.79043519585527 5.30917125486543 1.65955533828333
v -0.79043519585527 4.29110889209825 1.65955533828333
v -0.16123805299812 4.29110889209825 1.65955533828333
# 12 vertices
# 0 texture coordinate
o Platonic
usemtl Mat
f 58/1 57/2 49/3
f 57/1 51/2 49/3
f 57/1 52/2 51/3
f 57/1 53/2 52/3
f 57/1 58/2 53/3
f 53/1 58/2 55/3
f 55/1 58/2 56/3
f 58/1 49/2 56/3
f 60/1 59/2 50/3
f 51/1 60/2 50/3
f 51/1 52/2 60/3
f 52/1 54/2 60/3
f 54/1 59/2 60/3
f 54/1 55/2 59/3
f 55/1 56/2 59/3
f 56/1 50/2 59/3
f 50/1 56/2 49/3
f 51/1 50/2 49/3
f 53/1 54/2 52/3
f 53/1 55/2 54/3
v -0.31267799671822 3.18288872419396 -0.11638685692337
v -0.58404539715929 3.32521713635960 -0.44715538076993
v -0.44913605856942 3.13541997840002 -0.02687313948369
v -0.61534215011658 3.28261505863834 -0.21939256609872
v -0.70899880379487 3.34575691011816 -0.33379068633018
v -0.24222711497488 3.07522511109852 -0.22743643935449
v -0.46547773357010 3.12720045522424 -0.41951085097730
v -0.56911365395105 3.17842259835914 -0.53150700635770
v -0.24667081661035 3.33802108308335 -0.09485099193192
v -0.38208398597231 3.40176024501343 -0.35376303780887
v -0.47402373373195 3.45147190060151 -0.47616844962189
v -0.66286559627425 3.46561268486690 -0.51640241434361
v -0.61481836793006 3.26589587735626 -0.65408853251734
v -0.47197684883302 3.46681424408337 -0.67360562311278
v -0.77412991472294 3.56232228109497 -0.89627925069904
v -0.79030283410452 3.40749285880943 -0.95886055291318
v -0.66637986897502 3.50710865266110 -1.01243223425911
v -0.85957739237051 3.76672238665826 -1.16713347070836
v -0.89906227925418 3.66846052382041 -1.18269590856759
v -0.81320258861286 3.70097056100065 -1.23772181572250
v -0.96838366888859 4.21372093716817 -1.22539440053189
v -0.99561961842228 4.14594170950512 -1.23612908424528
v -0.93639518128068 4.16836653585926 -1.27408494403366
v -0.52101018845181 3.81767815612312 0.35498925422104
v -0.10510915986771 4.10551050696789 -0.00100788297670
v -0.67087152831016 3.81767815612312 0.17639146405387
v -0.42385985869385 4.07258997439660 -0.01464933982127
v -0.27860528391809 4.19018867824923 -0.13171478441912
v -0.36874440685037 3.64282101326598 0.37939628562337
v -0.14166827394712 3.79801314613471 0.07502925511626
v -0.00258590877590 3.90443508053061 -0.05943088962102
v -0.52341463019490 3.99253529898026 0.50918001298587
v -0.18922509968096 4.12286684292938 0.31013603833437
v -0.03413628690915 4.22190776212384 0.18812202511006
v -0.01090196771267 4.31927685836573 -0.05785485465870
v 0.16450567133567 4.03294716692253 -0.10599280379123
v 0.23568307868772 4.23301754908552 0.15853585826441
v 0.49490692601269 4.47736033488526 -0.23561444237857
v 0.56169204088840 4.27996973632964 -0.33331879780106
v 0.66576688364380 4.35472710996771 -0.14214033869071
v 0.86790824909184 4.76917838696929 -0.31377931564725
v 0.87244225447090 4.65735295805965 -0.40881722698364
v 0.96523787466458 4.66084902647575 -0.29508755308415
v 0.97237667412130 5.39570818675469 -0.27936931825224
v 0.97550414773047 5.31857306041282 -0.34492472340184
v 1.03951286164647 5.32098458417450 -0.26647608385184
v -0.85242001291369 4.68258781707173 0.40151752328953
v -0.84704641222685 4.65814333457985 1.01952131061974
v -0.61927715577083 4.68258781707173 0.40151752328953
v -0.63170745023064 4.74733763813614 0.79919117997193
v -0.63539795783136 4.75592126454738 1.01952131061974
v -0.96899144148512 4.48068018007513 0.40151752328953
v -0.88179449378227 4.43028362671568 0.79919117997193
v -0.86819246814326 4.42596143141788 1.01952131061974
v -0.96899144148512 4.88449545406833 0.40151752328953
v -1.03132780026834 4.80539236529896 0.79919117997193
v -1.03754881070593 4.79254730777429 1.01952131061974
v -0.86405432132233 4.78891671281588 1.22054787803318
v -0.93992836991085 4.45829166395246 1.22054787803318
v -1.18832103705978 4.68931304194980 1.22054787803318
v -1.05301026669432 4.67495414299646 1.73410379216059
v -1.02109303250800 4.44702711257329 1.73410379216059
v -1.23444224815677 4.53334949216098 1.73410379216059
v -1.23289312875170 4.75968648794881 2.17097916982674
v -1.16300426736675 4.63056160498236 2.17097916982674
v -1.30977412696887 4.63459851706464 2.17097916982674
v -1.32640372525630 5.27332264254076 2.53439485303996
v -1.27819567271064 5.18425467062586 2.53439485303996
v -1.37943482532533 5.18703925841179 2.53439485303996
v -0.00000000000000 0.11314336465414 -0.00000000000000
v 0.01317058991873 1.62785852967916 0.05991294728402
v 0.57142857142857 0.11314336465414 -0.00000000000000
v 0.54096216343884 1.62785852967916 -0.15870054182454
v 0.53191680167238 1.62785852967916 -0.17973884185207
v -0.28571428571429 0.11314336465414 0.49487165930539
v -0.07199627663868 1.62785852967916 0.61839262342170
v -0.03865797850384 1.62785852967916 0.62898623934768
v -0.28571428571429 0.11314336465414 -0.49487165930539
v -0.43849947881043 1.62785852967916 -0.30099153977263
v -0.45374705341235 1.62785852967916 -0.26950855564353
v -0.02851546178588 3.02500138682202 -0.26061003858861
v -0.21448126714989 3.02500138682202 0.54974547333155
v -0.82328682388749 3.02500138682202 -0.01648339430900
v -0.49164277887409 4.31928710110774 0.01870998547860
v -0.41341426371153 4.31928710110774 0.57735466788834
v -0.93632900794873 4.31928710110774 0.36578020811458
v -0.93253214666180 5.25357281539345 0.16438903292080
v -0.76123591777710 5.25357281539345 0.48087158921112
v -1.12096596582151 5.25357281539345 0.47097719685259
v -1.16172478515346 6.37642995825059 0.21347838469966
v -1.04356779361996 6.37642995825059 0.43178223743226
v -1.29170297159716 6.37642995825059 0.42495726736871
# 92 vertices
vn 0.00000000000000 -1.00000000000000 0.00000000000000
vn 0.00000000000000 0.00000000000000 0.00000000000000
vn 0.65473896138118 -0.04643234974086 0.75442755076086
vn 0.77887241693344 0.14749715968695 0.60959195042630
vn -0.98206713298651 -0.00000001535854 0.18853155255195
vn -0.91533004350017 -0.12179848481718 0.38384377103480
vn 0.32882915485233 0.04643233289338 -0.94324727690101
vn 0.12947389855611 0.05885494669571 -0.98983463509928
vn 0.00000000000000 1.00000000000000 0.00000000000000
vn -0.00790999322925 0.95772261401622 0.28758446865061
vn 0.92279319804813 0.30289724091557 0.23813016415784
vn -0.67365463653437 -0.21227441990904 0.70790465553493
vn -0.27147114914340 0.10905786859773 -0.95624776939854
vn 0.95514593019003 0.26652111908505 -0.12908425590706
vn -0.37948119811963 0.04712919539665 0.92399830043943
vn -0.60890505509565 -0.09318418465913 -0.78775081187415
vn 0.91658261447315 -0.07790527241918 -0.39218245674029
vn -0.11649198781263 0.59098708381708 0.79822545908837
vn -0.67921057820424 -0.52131902635761 -0.51662313460879
vn 0.80304321697298 -0.40768046679948 -0.43464724623981
vn -0.61480729443351 -0.69226162129662 -0.37787013429367
vn 0.96546885712314 -0.18279621995498 0.18562173335983
vn 0.96546886230147 -0.18279616133077 0.18562176415775
vn 0.96546884389275 -0.18279626215349 0.18562176061847
vn -0.05865696960886 0.37546033584090 0.92498048418685
vn -0.19788508779456 0.57087858441688 0.79683068081162
vn 0.96546886517519 -0.18279623638067 0.18562167530328
vn -0.15489537176706 -0.97566962928974 -0.15516506786893
vn -0.07566824101723 -0.99465751644877 0.07021924432321
vn 0.21378906478447 0.60170049621484 -0.76957829272492
vn 0.19028696014488 0.43161227384321 -0.88176057853973
vn -0.96546893136030 0.18279552237084 -0.18562203419631
vn -0.99310028696434 0.08058029163436 0.08519763278090
vn -0.24444768700451 0.84639075422575 0.47314693223069
vn -0.03722444919051 -0.88327997859285 0.46736583080011
vn 0.08877060813919 0.05559402489245 -0.99449941353771
vn -0.11941952962423 0.98120557925134 0.15157370217280
vn -0.30530267667880 -0.62614601263967 0.71744787020954
vn 0.20644246402154 -0.34801981928807 -0.91447455647022
vn 0.27057590028200 0.96184923483783 -0.04043181455819
vn -0.77121513477484 -0.24265609876707 0.58851103101418
vn 0.54818295185834 -0.57414691616907 -0.60815357430950
vn 0.58615161544699 0.80822813398574 -0.05651165492904
vn 0.68788096192007 -0.58717337587407 -0.42666990624202
vn -0.52667165311378 0.72094995479923 0.45038664776099
vn -0.52667186359401 0.72094979734574 0.45038665367166
vn -0.52667152455539 0.72094994200145 0.45038681857999
vn -0.33942471747186 -0.62352511599694 0.70427785063152
vn -0.37740295280727 -0.78609434991014 0.48951270080735
vn -0.52667163612668 0.72095005075524 0.45038651402508
vn 0.84113541226022 0.51858987249476 0.15347886625755
vn 0.77795496390374 0.49755509490469 0.38369910303768
vn -0.50299613756654 0.10414256711882 -0.85799138183728
vn -0.34940709984651 0.23046879498029 -0.90818434974249
vn 0.52667139029998 -0.72095015982368 -0.45038662689926
vn 0.59107610212649 -0.78746185203066 -0.17473658200673
vn -0.51485515708719 -0.85253043750966 0.09008895792665
vn 0.62677547058152 0.30415083289393 0.71738746875537
vn 0.00832392867456 0.42134113806714 -0.90686402375643
vn -0.66254870025932 -0.71571836632878 -0.22085388808972
vn 0.58756382390127 -0.13460208731445 0.79790414896347
vn 0.21978710769671 0.70865201367666 -0.67045204959216
vn -0.88646791470987 -0.35137595975484 -0.30118029666017
vn 0.62772298067275 -0.63894504520504 0.44464939980084
vn 0.12647094191149 0.96332856764397 -0.23664989248476
vn -0.98085288292976 -0.03094247668630 -0.19227632507640
vn 0.02348471077695 0.99911756059416 -0.03482195388101
vn 0.27929194682883 -0.35365550344094 0.89270588287660
vn 0.27929197430645 -0.35365550049727 0.89270587544612
vn 0.27929191935121 -0.35365550638460 0.89270589030708
vn -0.11909661511739 -0.94544739084407 -0.30322471438477
vn -0.34217144237467 -0.86576691271981 -0.36519358820061
vn 0.88777427685910 0.44934337734212 -0.09973646567869
vn 0.96569497655360 0.23772074615724 -0.10450865564913
vn -0.76924386410985 0.49581746191176 0.40302471635462
vn -0.63687302523445 0.65226276614648 0.41103045340663
vn -0.82249180937631 0.15884133878870 -0.54614709795136
vn -0.27929206851399 0.35365538736674 -0.89270589079027
vn -0.69675702991907 -0.63855464306831 -0.32676843341159
vn 0.97085038954529 -0.17050009197096 -0.16846138951598
vn -0.31313841762673 0.88694951730824 0.33950682637158
vn -0.90723990740476 -0.35437166435540 -0.22657553688382
vn 0.81466157527794 -0.48245588705103 -0.32181180030489
vn 0.07659294495092 0.93526518819248 0.34556120809349
vn -0.98614752416356 -0.14438955503936 -0.08163771788587
vn 0.61703654948650 -0.64801963830284 -0.44647110205661
vn 0.36638277431329 0.84778469019397 0.38343810681674
vn 0.53790870606725 -0.69081416261469 -0.48314595793407
vn 0.44536094422201 0.82249895067476 0.35376419476905
# 89 normals
vt 0.50000000000000 -0.50000000000000 0.00000000000000
vt 0.00000000000000 -0.50000000000000 0.00000000000000
vt 0.75000000000000 -0.06698729097843 0.00000000000000
vt 0.00000000000000 -1.00000000000000 0.00000000000000
vt 0.33333334326744 -0.00000000000000 0.00000000000000
vt 0.33333334326744 -1.00000000000000 0.00000000000000
vt 0.75000000000000 -0.93301272392273 0.00000000000000
vt 0.66666668653488 -0.00000000000000 0.00000000000000
vt 0.66666668653488 -1.00000000000000 0.00000000000000
vt 1.00000000000000 -1.00000000000000 0.00000000000000
# 10 texture coordinates
o Cylinder.4
usemtl Mat.1
f 61/4/1 63/5/1 66/6/1
f 63/7/3 64/1/4 67/8/4 66/9/3
f 61/4/1 69/10/1 63/5/1
f 61/4/1 66/6/1 69/10/1
f 66/9/5 67/8/6 70/11/6 69/12/5
f 69/12/7 70/11/8 64/2/8 63/13/7
f 81/1/9 83/2/10 82/13/10
f 64/1/4 72/1/11 73/13/11 67/13/4
f 67/13/6 73/13/12 74/2/12 70/2/6
f 70/2/8 74/2/13 72/1/13 64/1/8
f 72/1/11 75/1/14 76/13/14 73/13/11
f 73/13/12 76/13/15 77/2/15 74/2/12
f 74/2/13 77/2/16 75/1/16 72/1/13
f 75/1/14 78/1/17 79/13/17 76/13/14
f 76/13/15 79/13/18 80/2/18 77/2/15
f 77/2/16 80/2/19 78/1/19 75/1/16
f 78/1/17 81/1/20 82/13/20 79/13/17
f 79/13/18 82/13/10 83/2/10 80/2/18
f 80/2/19 83/2/21 81/1/21 78/1/19
f 84/4/22 86/5/23 89/6/24
f 86/7/25 87/1/26 90/8/26 89/9/25
f 84/4/22 92/10/27 86/5/23
f 84/4/22 89/6/24 92/10/27
f 89/9/28 90/8/29 93/11/29 92/12/28
f 92/12/30 93/11/31 87/2/31 86/13/30
f 104/1/32 106/2/33 105/13/33
f 87/1/26 95/1/34 96/13/34 90/13/26
f 90/13/29 96/13/35 97/2/35 93/2/29
f 93/2/31 97/2/36 95/1/36 87/1/31
f 95/1/34 98/1/37 99/13/37 96/13/34
f 96/13/35 99/13/38 100/2/38 97/2/35
f 97/2/36 100/2/39 98/1/39 95/1/36
f 98/1/37 101/1/40 102/13/40 99/13/37
f 99/13/38 102/13/41 103/2/41 100/2/38
f 100/2/39 103/2/42 101/1/42 98/1/39
f 101/1/40 104/1/43 105/13/43 102/13/40
f 102/13/41 105/13/33 106/2/33 103/2/41
f 103/2/42 106/2/44 104/1/44 101/1/42
f 107/4/45 109/5/46 112/6/47
f 109/7/48 110/1/49 113/8/49 112/9/48
f 107/4/45 115/10/50 109/5/46
f 107/4/45 112/6/47 115/10/50
f 112/9/51 113/8/52 116/11/52 115/12/51
f 115/12/53 116/11/54 110/2/54 109/13/53
f 127/1/55 129/2/56 128/13/56
f 110/1/49 118/1/57 119/13/57 113/13/49
f 113/13/52 119/13/58 120/2/58 116/2/52
f 116/2/54 120/2/59 118/1/59 110/1/54
f 118/1/57 121/1/60 122/13/60 119/13/57
f 119/13/58 122/13/61 123/2/61 120/2/58
f 120/2/59 123/2/62 121/1/62 118/1/59
f 121/1/60 124/1/63 125/13/63 122/13/60
f 122/13/61 125/13/64 126/2/64 123/2/61
f 123/2/62 126/2/65 124/1/65 121/1/62
f 124/1/63 127/1/66 128/13/66 125/13/63
f 125/13/64 128/13/56 129/2/56 126/2/64
f 126/2/65 129/2/67 127/1/67 124/1/65
f 130/4/68 132/5/69 135/6/70
f 132/7/71 133/1/72 136/8/72 135/9/71
f 130/4/68 138/10/68 132/5/69
f 130/4/68 135/6/70 138/10/68
f 135/9/73 136/8/74 139/11/74 138/12/73
f 138/12/75 139/11/76 133/2/76 132/13/75
f 150/1/77 152/2/78 151/13/77
f 133/1/72 141/1/79 142/13/79 136/13/72
f 136/13/74 142/13/80 143/2/80 139/2/74
f 139/2/76 143/2/81 141/1/81 133/1/76
f 141/1/79 144/1/82 145/13/82 142/13/79
f 142/13/80 145/13/83 146/2/83 143/2/80
f 143/2/81 146/2/84 144/1/84 141/1/81
f 144/1/82 147/1/85 148/13/85 145/13/82
f 145/13/83 148/13/86 149/2/86 146/2/83
f 146/2/84 149/2/87 147/1/87 144/1/84
f 147/1/85 150/1/77 151/13/77 148/13/85
f 148/13/86 151/13/88 152/2/88 149/2/86
f 149/2/87 152/2/89 150/1/89 147/1/87
+12
View File
@@ -0,0 +1,12 @@
# WaveFront *.mtl file (generated by CINEMA 4D)
newmtl Mat
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd Groen_1.png
illum 7
newmtl Mat.1
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd Bruin.png
illum 7
+478
View File
@@ -0,0 +1,478 @@
# WaveFront *.obj file (generated by CINEMA 4D)
mtllib ./tree2.mtl
v -1.75211392476365 6.41245259173359 0.75799257659643
v -1.47500265593537 5.37573338375617 0.42774422642200
v -1.25441770589511 5.70839009706014 1.47718366498118
v -2.04614616577368 5.28249848785093 2.14980817190714
v -3.03315748270777 5.72334549250970 1.84632189046877
v -2.75604621387949 4.68662628453229 1.51607354029433
v -3.25374243274803 5.39068877920574 0.79688245190958
v -2.46201397286946 5.81658038841494 0.12425794498363
v -2.10510002629763 6.35483025712659 1.82228662570700
v -2.85143556397527 6.42169553443661 0.98613254649458
v -2.40306011234551 4.74424861913928 0.45177949118377
v -1.65672457466787 4.67738334182926 1.28793357039618
# 12 vertices
vt 0.00000000000000 -0.00000000000000 0.00000000000000
vt 1.00000000000000 -0.00000000000000 0.00000000000000
vt 0.50000000000000 -1.00000000000000 0.00000000000000
# 3 texture coordinates
o Platonic.4
usemtl Mat
f 10/1 9/2 1/3
f 9/1 3/2 1/3
f 9/1 4/2 3/3
f 9/1 5/2 4/3
f 9/1 10/2 5/3
f 5/1 10/2 7/3
f 7/1 10/2 8/3
f 10/1 1/2 8/3
f 12/1 11/2 2/3
f 3/1 12/2 2/3
f 3/1 4/2 12/3
f 4/1 6/2 12/3
f 6/1 11/2 12/3
f 6/1 7/2 11/3
f 7/1 8/2 11/3
f 8/1 2/2 11/3
f 2/1 8/2 1/3
f 3/1 2/2 1/3
f 5/1 6/2 4/3
f 5/1 7/2 6/3
v 0.10332978173509 8.04858110514051 -0.72072184483883
v 0.49324299927879 6.24427347540975 -1.18540232264651
v 1.11960170490567 6.95897842110483 0.46394842806114
v -0.04018488354815 6.35238113816428 1.84612826149357
v -1.77324433807948 7.06708608385936 1.51569210421950
v -1.38333112053578 5.26277845412860 1.05101162641182
v -2.39960304370636 6.35238113816428 -0.13365864648816
v -1.23981645525254 6.95897842110483 -1.51583847992058
v -0.22634678039886 8.11539531516712 1.15286709409456
v -1.68454739705038 8.11539531516712 -0.07070850552021
v -1.05365455840183 5.19596424410199 -0.82257731252158
v 0.40454605824969 5.19596424410199 0.40099828709319
# 12 vertices
# 0 texture coordinate
o Platonic.3
usemtl Mat
f 22/1 21/2 13/3
f 21/1 15/2 13/3
f 21/1 16/2 15/3
f 21/1 17/2 16/3
f 21/1 22/2 17/3
f 17/1 22/2 19/3
f 19/1 22/2 20/3
f 22/1 13/2 20/3
f 24/1 23/2 14/3
f 15/1 24/2 14/3
f 15/1 16/2 24/3
f 16/1 18/2 24/3
f 18/1 23/2 24/3
f 18/1 19/2 23/3
f 19/1 20/2 23/3
f 20/1 14/2 23/3
f 14/1 20/2 13/3
f 15/1 14/2 13/3
f 17/1 18/2 16/3
f 17/1 19/2 18/3
v 0.94761186252949 4.68882818882168 -2.06547548633514
v 0.73481463467558 3.74824469248918 -1.81187362554615
v 1.09939735850220 4.37810221252871 -1.13021915333326
v 0.33939251914696 4.70078381170267 -0.57114571695646
v -0.28210179916169 5.21093798382931 -1.16087566407027
v -0.49489902701561 4.27035448749681 -0.90727380328128
v -0.64668452298831 4.58108046378978 -1.84253013628316
v 0.11332031636693 4.25839886461582 -2.40160357265996
v 0.70322755522942 5.27752974010950 -1.29866346803614
v 0.09379842766386 5.20354900253219 -2.08442225194709
v -0.25051471971553 3.68165293620899 -1.67408582158029
v 0.35891440785003 3.75563367378630 -0.88832703766934
# 12 vertices
# 0 texture coordinate
o Platonic.2
usemtl Mat
f 34/1 33/2 25/3
f 33/1 27/2 25/3
f 33/1 28/2 27/3
f 33/1 29/2 28/3
f 33/1 34/2 29/3
f 29/1 34/2 31/3
f 31/1 34/2 32/3
f 34/1 25/2 32/3
f 36/1 35/2 26/3
f 27/1 36/2 26/3
f 27/1 28/2 36/3
f 28/1 30/2 36/3
f 30/1 35/2 36/3
f 30/1 31/2 35/3
f 31/1 32/2 35/3
f 32/1 26/2 35/3
f 26/1 32/2 25/3
f 27/1 26/2 25/3
f 29/1 30/2 28/3
f 29/1 31/2 30/3
v 1.70391933234667 5.94431501979733 -0.45730119503487
v 1.53604692802406 4.82159308684731 -0.25723865408597
v 2.46397728459143 5.35159045136135 0.17491727855865
v 2.25845738007761 5.58028218070681 1.28585038407339
v 1.37138114147867 6.31434601082428 1.34022632891546
v 1.20350873715606 5.19162407787425 1.54028886986436
v 0.44345078491130 5.78434864631023 0.90807039627085
v 0.64897068942513 5.55565691696477 -0.20286270924390
v 2.15039354554394 6.41321066669636 0.49638027821500
v 1.02865777992594 6.53933067840333 0.26289940548351
v 0.75703452395879 4.72272843097522 0.58660739661449
v 1.87877028957679 4.59660841926825 0.82008826934599
# 12 vertices
# 0 texture coordinate
o Platonic.1
usemtl Mat
f 46/1 45/2 37/3
f 45/1 39/2 37/3
f 45/1 40/2 39/3
f 45/1 41/2 40/3
f 45/1 46/2 41/3
f 41/1 46/2 43/3
f 43/1 46/2 44/3
f 46/1 37/2 44/3
f 48/1 47/2 38/3
f 39/1 48/2 38/3
f 39/1 40/2 48/3
f 40/1 42/2 48/3
f 42/1 47/2 48/3
f 42/1 43/2 47/3
f 43/1 44/2 47/3
f 44/1 38/2 47/3
f 38/1 44/2 37/3
f 39/1 38/2 37/3
f 41/1 42/2 40/3
f 41/1 43/2 42/3
v -0.78894998598217 5.11473864491041 0.80262820367634
v -0.78894998598217 4.48554150205327 0.80262820367634
v -0.52398835070708 4.80014007348184 1.27877116043097
v -0.92842847818583 4.80014007348184 1.76076413534303
v -1.44334785865711 5.11473864491041 1.58250921942271
v -1.44334785865711 4.48554150205327 1.58250921942271
v -1.70830949393220 4.80014007348184 1.10636626266808
v -1.30386936645346 4.80014007348184 0.62437328775603
v -0.87515243486362 5.30917125486543 1.39478877528890
v -1.35714540977567 5.30917125486543 0.99034864781016
v -1.35714540977567 4.29110889209825 0.99034864781016
v -0.87515243486362 4.29110889209825 1.39478877528890
# 12 vertices
# 0 texture coordinate
o Platonic
usemtl Mat
f 58/1 57/2 49/3
f 57/1 51/2 49/3
f 57/1 52/2 51/3
f 57/1 53/2 52/3
f 57/1 58/2 53/3
f 53/1 58/2 55/3
f 55/1 58/2 56/3
f 58/1 49/2 56/3
f 60/1 59/2 50/3
f 51/1 60/2 50/3
f 51/1 52/2 60/3
f 52/1 54/2 60/3
f 54/1 59/2 60/3
f 54/1 55/2 59/3
f 55/1 56/2 59/3
f 56/1 50/2 59/3
f 50/1 56/2 49/3
f 51/1 50/2 49/3
f 53/1 54/2 52/3
f 53/1 55/2 54/3
v 0.15039147638173 3.18288872419396 -0.06300559408461
v 0.15512589603308 3.32521713635960 -0.49082058641230
v -0.01167977208537 3.13541997840002 -0.08214765965682
v -0.01525192287550 3.28261505863834 -0.33646131290866
v -0.01346338773066 3.34575691011816 -0.48429669376433
v 0.27574127850164 3.07522511109852 -0.10278955574055
v 0.22818443463287 3.12720045522424 -0.39342982291741
v 0.22078445472858 3.17842259835914 -0.54583974093660
v 0.18711292272893 3.33802108308335 -0.00407956685647
v 0.24980587190237 3.40176024501343 -0.28945960831133
v 0.25805662110133 3.45147190060151 -0.44232532453599
v 0.13925725568425 3.46561268486690 -0.59453153906802
v 0.26456649875250 3.26589587735626 -0.66912106173020
v 0.38653479471533 3.46681424408337 -0.59225526190231
v 0.29820396643540 3.56232228109497 -0.95705340392675
v 0.32604127707543 3.40749285880943 -1.01538921492198
v 0.45540698888695 3.50710865266110 -0.97677135718471
v 0.40684913765825 3.76672238665826 -1.21946435397104
v 0.38660530170626 3.66846052382041 -1.25676626907319
v 0.48774761194090 3.70097056100065 -1.24372901416103
v 0.36094809797449 4.21372093716817 -1.33403414191525
v 0.34698427186601 4.14594170950512 -1.35976431762084
v 0.41675037922215 4.16836653585926 -1.35077145871025
v -0.31219496516443 3.81767815612312 0.16417610493140
v 0.23523425554447 4.10551050696789 0.15880250424455
v -0.31219496516443 3.81767815612312 -0.06896675221146
v -0.00017438659382 4.07258997439660 -0.05653645775165
v 0.18634529056070 4.19018867824923 -0.05284595015094
v -0.21124114666613 3.64282101326598 0.28074753350282
v 0.15835261911641 3.79801314613471 0.19355058579998
v 0.35132520712545 3.90443508053061 0.17994856016096
v -0.41314878366273 3.99253529898026 0.28074753350282
v -0.02920175017523 4.12286684292938 0.34308389228605
v 0.16803226894725 4.22190776212384 0.34930490272363
v 0.34394168064207 4.31927685836573 0.17581041334003
v 0.50925420507379 4.03294716692253 0.25168446192855
v 0.39374351607511 4.23301754908552 0.50007712907749
v 0.84567543344986 4.47736033488526 0.36476635871202
v 0.95963894866145 4.27996973632964 0.33284912452570
v 0.91647775886760 4.35472710996771 0.54619834017448
v 1.18165443632050 4.76917838696929 0.54464922076941
v 1.24621687780372 4.65735295805965 0.47476035938445
v 1.24419842176258 4.66084902647575 0.62153021898657
v 1.23956357282085 5.39570818675469 0.63815981727401
v 1.28409755877830 5.31857306041282 0.58995176472834
v 1.28270526488534 5.32098458417450 0.69119091734304
v -0.59597741444588 4.68258781707173 -0.01320730199323
v -0.98910617473539 4.65814333457985 0.46366514905846
v -0.41737962427871 4.68258781707173 0.13665403786512
v -0.68252148149017 4.74733763813614 0.43329969347796
v -0.82697405235101 4.75592126454738 0.59971015315319
v -0.68527630952946 4.48068018007513 -0.08813797192240
v -0.87409927149895 4.43028362671568 0.27254684053983
v -1.00530499336404 4.42596143141788 0.45007272632166
v -0.68527630952946 4.88449545406833 -0.08813797192240
v -0.98864842999381 4.80539236529896 0.17642868389513
v -1.13503947849113 4.79254730777429 0.34121256770054
v -1.13135237573823 4.78891671281588 0.60672796071156
v -1.18947526903641 4.45829166395246 0.55795706238211
v -1.37975509141735 4.68931304194980 0.39829333360178
v -1.60620840616709 4.67495414299646 0.87867607449803
v -1.58175838627893 4.44702711257329 0.89919207716847
v -1.74519336737047 4.53334949216098 0.76205384481309
v -2.02482475279941 4.75968648794881 1.09771555496925
v -1.97128677889955 4.63056160498236 1.14263924912261
v -2.08371901426511 4.63459851706464 1.04829740189493
v -2.33005712395973 5.27332264254076 1.31600066682948
v -2.29312761319353 5.18425467062586 1.34698820569295
v -2.37068130348010 5.18703925841179 1.28191293277706
v 0.31510468869260 0.11314336465414 0.22713745302569
v 0.28668264573847 1.62785852967916 0.28149932537552
v 0.75284437047487 0.11314336465414 0.59444465856086
v 0.83151648986790 1.62785852967916 0.45328956080875
v 0.83811049933727 1.62785852967916 0.43135904151137
v -0.22186252318506 0.11314336465414 0.42257753492608
v -0.13754277520875 1.62785852967916 0.65457537129675
v -0.11881360223850 1.62785852967916 0.68411999687849
v 0.41433221878799 0.11314336465414 -0.33560983440985
v 0.17266823202563 1.62785852967916 -0.28529747527630
v 0.14075104011664 1.62785852967916 -0.27098106226329
v 0.46077748141325 3.02500138682202 0.00916919562342
v -0.20256707289948 3.02500138682202 0.51040101696732
v -0.30497428621208 3.02500138682202 -0.31468812920151
v -0.07354207690653 4.31928710110774 -0.07455175321971
v -0.37270543764305 4.31928710110774 0.40367922168890
v -0.63728393042225 4.31928710110774 -0.09451933604476
v -0.50492361381733 5.25357281539345 -0.24635335130422
v -0.57713415541830 5.25357281539345 0.10619344579919
v -0.84634336693221 5.25357281539345 -0.13261611620000
v -0.71204938802864 6.37642995825059 -0.35607091441152
v -0.76185889293209 6.37642995825059 -0.11289061095868
v -0.94755446097053 6.37642995825059 -0.27761705928142
# 92 vertices
vn 0.00000000000000 -1.00000000000000 0.00000000000000
vn 0.00000000000000 0.00000000000000 0.00000000000000
vn 0.65473896138118 -0.04643234974086 0.75442755076086
vn 0.77887241693344 0.14749715968695 0.60959195042630
vn -0.98206713298651 -0.00000001535854 0.18853155255195
vn -0.91533004350017 -0.12179848481718 0.38384377103480
vn 0.32882915485233 0.04643233289338 -0.94324727690101
vn 0.12947389855611 0.05885494669571 -0.98983463509928
vn 0.00000000000000 1.00000000000000 0.00000000000000
vn -0.00790999322925 0.95772261401622 0.28758446865061
vn 0.92279319804813 0.30289724091557 0.23813016415784
vn -0.67365463653437 -0.21227441990904 0.70790465553493
vn -0.27147114914340 0.10905786859773 -0.95624776939854
vn 0.95514593019003 0.26652111908505 -0.12908425590706
vn -0.37948119811963 0.04712919539665 0.92399830043943
vn -0.60890505509565 -0.09318418465913 -0.78775081187415
vn 0.91658261447315 -0.07790527241918 -0.39218245674029
vn -0.11649198781263 0.59098708381708 0.79822545908837
vn -0.67921057820424 -0.52131902635761 -0.51662313460879
vn 0.80304321697298 -0.40768046679948 -0.43464724623981
vn -0.61480729443351 -0.69226162129662 -0.37787013429367
vn 0.96546885712314 -0.18279621995498 0.18562173335983
vn 0.96546886230147 -0.18279616133077 0.18562176415775
vn 0.96546884389275 -0.18279626215349 0.18562176061847
vn -0.05865696960886 0.37546033584090 0.92498048418685
vn -0.19788508779456 0.57087858441688 0.79683068081162
vn 0.96546886517519 -0.18279623638067 0.18562167530328
vn -0.15489537176706 -0.97566962928974 -0.15516506786893
vn -0.07566824101723 -0.99465751644877 0.07021924432321
vn 0.21378906478447 0.60170049621484 -0.76957829272492
vn 0.19028696014488 0.43161227384321 -0.88176057853973
vn -0.96546893136030 0.18279552237084 -0.18562203419631
vn -0.99310028696434 0.08058029163436 0.08519763278090
vn -0.24444768700451 0.84639075422575 0.47314693223069
vn -0.03722444919051 -0.88327997859285 0.46736583080011
vn 0.08877060813919 0.05559402489245 -0.99449941353771
vn -0.11941952962423 0.98120557925134 0.15157370217280
vn -0.30530267667880 -0.62614601263967 0.71744787020954
vn 0.20644246402154 -0.34801981928807 -0.91447455647022
vn 0.27057590028200 0.96184923483783 -0.04043181455819
vn -0.77121513477484 -0.24265609876707 0.58851103101418
vn 0.54818295185834 -0.57414691616907 -0.60815357430950
vn 0.58615161544699 0.80822813398574 -0.05651165492904
vn 0.68788096192007 -0.58717337587407 -0.42666990624202
vn -0.52667165311378 0.72094995479923 0.45038664776099
vn -0.52667186359401 0.72094979734574 0.45038665367166
vn -0.52667152455539 0.72094994200145 0.45038681857999
vn -0.33942471747186 -0.62352511599694 0.70427785063152
vn -0.37740295280727 -0.78609434991014 0.48951270080735
vn -0.52667163612668 0.72095005075524 0.45038651402508
vn 0.84113541226022 0.51858987249476 0.15347886625755
vn 0.77795496390374 0.49755509490469 0.38369910303768
vn -0.50299613756654 0.10414256711882 -0.85799138183728
vn -0.34940709984651 0.23046879498029 -0.90818434974249
vn 0.52667139029998 -0.72095015982368 -0.45038662689926
vn 0.59107610212649 -0.78746185203066 -0.17473658200673
vn -0.51485515708719 -0.85253043750966 0.09008895792665
vn 0.62677547058152 0.30415083289393 0.71738746875537
vn 0.00832392867456 0.42134113806714 -0.90686402375643
vn -0.66254870025932 -0.71571836632878 -0.22085388808972
vn 0.58756382390127 -0.13460208731445 0.79790414896347
vn 0.21978710769671 0.70865201367666 -0.67045204959216
vn -0.88646791470987 -0.35137595975484 -0.30118029666017
vn 0.62772298067275 -0.63894504520504 0.44464939980084
vn 0.12647094191149 0.96332856764397 -0.23664989248476
vn -0.98085288292976 -0.03094247668630 -0.19227632507640
vn 0.02348471077695 0.99911756059416 -0.03482195388101
vn 0.27929194682883 -0.35365550344094 0.89270588287660
vn 0.27929197430645 -0.35365550049727 0.89270587544612
vn 0.27929191935121 -0.35365550638460 0.89270589030708
vn -0.11909661511739 -0.94544739084407 -0.30322471438477
vn -0.34217144237467 -0.86576691271981 -0.36519358820061
vn 0.88777427685910 0.44934337734212 -0.09973646567869
vn 0.96569497655360 0.23772074615724 -0.10450865564913
vn -0.76924386410985 0.49581746191176 0.40302471635462
vn -0.63687302523445 0.65226276614648 0.41103045340663
vn -0.82249180937631 0.15884133878870 -0.54614709795136
vn -0.27929206851399 0.35365538736674 -0.89270589079027
vn -0.69675702991907 -0.63855464306831 -0.32676843341159
vn 0.97085038954529 -0.17050009197096 -0.16846138951598
vn -0.31313841762673 0.88694951730824 0.33950682637158
vn -0.90723990740476 -0.35437166435540 -0.22657553688382
vn 0.81466157527794 -0.48245588705103 -0.32181180030489
vn 0.07659294495092 0.93526518819248 0.34556120809349
vn -0.98614752416356 -0.14438955503936 -0.08163771788587
vn 0.61703654948650 -0.64801963830284 -0.44647110205661
vn 0.36638277431329 0.84778469019397 0.38343810681674
vn 0.53790870606725 -0.69081416261469 -0.48314595793407
vn 0.44536094422201 0.82249895067476 0.35376419476905
# 89 normals
vt 0.50000000000000 -0.50000000000000 0.00000000000000
vt 0.00000000000000 -0.50000000000000 0.00000000000000
vt 0.75000000000000 -0.06698729097843 0.00000000000000
vt 0.00000000000000 -1.00000000000000 0.00000000000000
vt 0.33333334326744 -0.00000000000000 0.00000000000000
vt 0.33333334326744 -1.00000000000000 0.00000000000000
vt 0.75000000000000 -0.93301272392273 0.00000000000000
vt 0.66666668653488 -0.00000000000000 0.00000000000000
vt 0.66666668653488 -1.00000000000000 0.00000000000000
vt 1.00000000000000 -1.00000000000000 0.00000000000000
# 10 texture coordinates
o Cylinder.4
usemtl Mat.1
f 61/4/1 63/5/1 66/6/1
f 63/7/3 64/1/4 67/8/4 66/9/3
f 61/4/1 69/10/1 63/5/1
f 61/4/1 66/6/1 69/10/1
f 66/9/5 67/8/6 70/11/6 69/12/5
f 69/12/7 70/11/8 64/2/8 63/13/7
f 81/1/9 83/2/10 82/13/10
f 64/1/4 72/1/11 73/13/11 67/13/4
f 67/13/6 73/13/12 74/2/12 70/2/6
f 70/2/8 74/2/13 72/1/13 64/1/8
f 72/1/11 75/1/14 76/13/14 73/13/11
f 73/13/12 76/13/15 77/2/15 74/2/12
f 74/2/13 77/2/16 75/1/16 72/1/13
f 75/1/14 78/1/17 79/13/17 76/13/14
f 76/13/15 79/13/18 80/2/18 77/2/15
f 77/2/16 80/2/19 78/1/19 75/1/16
f 78/1/17 81/1/20 82/13/20 79/13/17
f 79/13/18 82/13/10 83/2/10 80/2/18
f 80/2/19 83/2/21 81/1/21 78/1/19
f 84/4/22 86/5/23 89/6/24
f 86/7/25 87/1/26 90/8/26 89/9/25
f 84/4/22 92/10/27 86/5/23
f 84/4/22 89/6/24 92/10/27
f 89/9/28 90/8/29 93/11/29 92/12/28
f 92/12/30 93/11/31 87/2/31 86/13/30
f 104/1/32 106/2/33 105/13/33
f 87/1/26 95/1/34 96/13/34 90/13/26
f 90/13/29 96/13/35 97/2/35 93/2/29
f 93/2/31 97/2/36 95/1/36 87/1/31
f 95/1/34 98/1/37 99/13/37 96/13/34
f 96/13/35 99/13/38 100/2/38 97/2/35
f 97/2/36 100/2/39 98/1/39 95/1/36
f 98/1/37 101/1/40 102/13/40 99/13/37
f 99/13/38 102/13/41 103/2/41 100/2/38
f 100/2/39 103/2/42 101/1/42 98/1/39
f 101/1/40 104/1/43 105/13/43 102/13/40
f 102/13/41 105/13/33 106/2/33 103/2/41
f 103/2/42 106/2/44 104/1/44 101/1/42
f 107/4/45 109/5/46 112/6/47
f 109/7/48 110/1/49 113/8/49 112/9/48
f 107/4/45 115/10/50 109/5/46
f 107/4/45 112/6/47 115/10/50
f 112/9/51 113/8/52 116/11/52 115/12/51
f 115/12/53 116/11/54 110/2/54 109/13/53
f 127/1/55 129/2/56 128/13/56
f 110/1/49 118/1/57 119/13/57 113/13/49
f 113/13/52 119/13/58 120/2/58 116/2/52
f 116/2/54 120/2/59 118/1/59 110/1/54
f 118/1/57 121/1/60 122/13/60 119/13/57
f 119/13/58 122/13/61 123/2/61 120/2/58
f 120/2/59 123/2/62 121/1/62 118/1/59
f 121/1/60 124/1/63 125/13/63 122/13/60
f 122/13/61 125/13/64 126/2/64 123/2/61
f 123/2/62 126/2/65 124/1/65 121/1/62
f 124/1/63 127/1/66 128/13/66 125/13/63
f 125/13/64 128/13/56 129/2/56 126/2/64
f 126/2/65 129/2/67 127/1/67 124/1/65
f 130/4/68 132/5/69 135/6/70
f 132/7/71 133/1/72 136/8/72 135/9/71
f 130/4/68 138/10/68 132/5/69
f 130/4/68 135/6/70 138/10/68
f 135/9/73 136/8/74 139/11/74 138/12/73
f 138/12/75 139/11/76 133/2/76 132/13/75
f 150/1/77 152/2/78 151/13/77
f 133/1/72 141/1/79 142/13/79 136/13/72
f 136/13/74 142/13/80 143/2/80 139/2/74
f 139/2/76 143/2/81 141/1/81 133/1/76
f 141/1/79 144/1/82 145/13/82 142/13/79
f 142/13/80 145/13/83 146/2/83 143/2/80
f 143/2/81 146/2/84 144/1/84 141/1/81
f 144/1/82 147/1/85 148/13/85 145/13/82
f 145/13/83 148/13/86 149/2/86 146/2/83
f 146/2/84 149/2/87 147/1/87 144/1/84
f 147/1/85 150/1/77 151/13/77 148/13/85
f 148/13/86 151/13/88 152/2/88 149/2/86
f 149/2/87 152/2/89 150/1/89 147/1/87
+12
View File
@@ -0,0 +1,12 @@
# WaveFront *.mtl file (generated by CINEMA 4D)
newmtl Mat
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd Groen_1.png
illum 7
newmtl Mat.1
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd Bruin.png
illum 7
+478
View File
@@ -0,0 +1,478 @@
# WaveFront *.obj file (generated by CINEMA 4D)
mtllib ./tree3.mtl
v 0.05707717430603 6.41245259173359 2.14407899244613
v -0.27317117586841 5.37573338375617 1.86696772361785
v 0.77626826269077 5.70839009706014 1.64638277357759
v 1.44889276961673 5.28249848785093 2.43811123345616
v 1.14540648817836 5.72334549250970 3.42512255039025
v 0.81515813800392 4.68662628453228 3.14801128156197
v 0.09596704961917 5.39068877920573 3.64570750043051
v -0.57665745730678 5.81658038841494 2.85397904055194
v 1.12137122341659 6.35483025712659 2.49706509398011
v 0.28521714420417 6.42169553443661 3.24340063165775
v -0.24913591110664 4.74424861913928 2.79502518002799
v 0.58701816810577 4.67738334182926 2.04868964235035
# 12 vertices
vt 0.00000000000000 -0.00000000000000 0.00000000000000
vt 1.00000000000000 -0.00000000000000 0.00000000000000
vt 0.50000000000000 -1.00000000000000 0.00000000000000
# 3 texture coordinates
o Platonic.4
usemtl Mat
f 10/1 9/2 1/3
f 9/1 3/2 1/3
f 9/1 4/2 3/3
f 9/1 5/2 4/3
f 9/1 10/2 5/3
f 5/1 10/2 7/3
f 7/1 10/2 8/3
f 10/1 1/2 8/3
f 12/1 11/2 2/3
f 3/1 12/2 2/3
f 3/1 4/2 12/3
f 4/1 6/2 12/3
f 6/1 11/2 12/3
f 6/1 7/2 11/3
f 7/1 8/2 11/3
f 8/1 2/2 11/3
f 2/1 8/2 1/3
f 3/1 2/2 1/3
f 5/1 6/2 4/3
f 5/1 7/2 6/3
v -1.42163724712924 8.04858110514051 0.28863528594739
v -1.88631772493692 6.24427347540975 -0.10127793159631
v -0.23696697422926 6.95897842110483 -0.72763663722319
v 1.14521285920316 6.35238113816428 0.43214995123063
v 0.81477670192909 7.06708608385936 2.16520940576196
v 0.35009622412141 5.26277845412860 1.77529618821826
v -0.83457404877857 6.35238113816428 2.79156811138884
v -2.21675388221099 6.95897842110483 1.63178152293502
v 0.45195169180415 8.11539531516712 0.61831184808134
v -0.77162390781061 8.11539531516712 2.07651246473286
v -1.52349271481198 5.19596424410199 1.44561962608431
v -0.29991711519721 5.19596424410199 -0.01258099056721
# 12 vertices
# 0 texture coordinate
o Platonic.3
usemtl Mat
f 22/1 21/2 13/3
f 21/1 15/2 13/3
f 21/1 16/2 15/3
f 21/1 17/2 16/3
f 21/1 22/2 17/3
f 17/1 22/2 19/3
f 19/1 22/2 20/3
f 22/1 13/2 20/3
f 24/1 23/2 14/3
f 15/1 24/2 14/3
f 15/1 16/2 24/3
f 16/1 18/2 24/3
f 18/1 23/2 24/3
f 18/1 19/2 23/3
f 19/1 20/2 23/3
f 20/1 14/2 23/3
f 14/1 20/2 13/3
f 15/1 14/2 13/3
f 17/1 18/2 16/3
f 17/1 19/2 18/3
v -2.76639088862555 4.68882818882168 -0.55564679484701
v -2.51278902783656 3.74824469248918 -0.34284956699310
v -1.83113455562367 4.37810221252871 -0.70743229081972
v -1.27206111924687 4.70078381170267 0.05257254853552
v -1.86179106636068 5.21093798382931 0.67406686684417
v -1.60818920557169 4.27035448749681 0.88686409469809
v -2.54344553857357 4.58108046378978 1.03864959067079
v -3.10251897495037 4.25839886461582 0.27864475131555
v -1.99957887032654 5.27752974010950 -0.31126248754694
v -2.78533765423749 5.20354900253219 0.29816664001862
v -2.37500122387069 3.68165293620899 0.64247978739801
v -1.58924243995974 3.75563367378630 0.03305065983245
# 12 vertices
# 0 texture coordinate
o Platonic.2
usemtl Mat
f 34/1 33/2 25/3
f 33/1 27/2 25/3
f 33/1 28/2 27/3
f 33/1 29/2 28/3
f 33/1 34/2 29/3
f 29/1 34/2 31/3
f 31/1 34/2 32/3
f 34/1 25/2 32/3
f 36/1 35/2 26/3
f 27/1 36/2 26/3
f 27/1 28/2 36/3
f 28/1 30/2 36/3
f 30/1 35/2 36/3
f 30/1 31/2 35/3
f 31/1 32/2 35/3
f 32/1 26/2 35/3
f 26/1 32/2 25/3
f 27/1 26/2 25/3
f 29/1 30/2 28/3
f 29/1 31/2 30/3
v -1.15821659732527 5.94431501979733 -1.31195426466419
v -0.95815405637637 4.82159308684731 -1.14408186034158
v -0.52599812373176 5.35159045136135 -2.07201221690895
v 0.58493498178298 5.58028218070681 -1.86649231239513
v 0.63931092662505 6.31434601082428 -0.97941607379619
v 0.83937346757395 5.19162407787425 -0.81154366947358
v 0.20715499398044 5.78434864631023 -0.05148571722882
v -0.90377811153430 5.55565691696477 -0.25700562174265
v -0.20453512407541 6.41321066669636 -1.75842847786146
v -0.43801599680690 6.53933067840333 -0.63669271224346
v -0.11430800567591 4.72272843097522 -0.36506945627631
v 0.11917286705558 4.59660841926825 -1.48680522189431
# 12 vertices
# 0 texture coordinate
o Platonic.1
usemtl Mat
f 46/1 45/2 37/3
f 45/1 39/2 37/3
f 45/1 40/2 39/3
f 45/1 41/2 40/3
f 45/1 46/2 41/3
f 41/1 46/2 43/3
f 43/1 46/2 44/3
f 46/1 37/2 44/3
f 48/1 47/2 38/3
f 39/1 48/2 38/3
f 39/1 40/2 48/3
f 40/1 42/2 48/3
f 42/1 47/2 48/3
f 42/1 43/2 47/3
f 43/1 44/2 47/3
f 44/1 38/2 47/3
f 38/1 44/2 37/3
f 39/1 38/2 37/3
f 41/1 42/2 40/3
f 41/1 43/2 42/3
v 0.10171280138593 5.11473864491041 1.18091505366465
v 0.10171280138593 4.48554150205327 1.18091505366465
v 0.57785575814057 4.80014007348184 0.91595341838956
v 1.05984873305262 4.80014007348184 1.32039354586831
v 0.88159381713231 5.11473864491041 1.83531292633959
v 0.88159381713231 4.48554150205327 1.83531292633959
v 0.40545086037767 4.80014007348184 2.10027456161468
v -0.07654211453438 4.80014007348184 1.69583443413594
v 0.69387337299849 5.30917125486543 1.26711750254610
v 0.28943324551975 5.30917125486543 1.74911047745815
v 0.28943324551975 4.29110889209825 1.74911047745815
v 0.69387337299849 4.29110889209825 1.26711750254610
# 12 vertices
# 0 texture coordinate
o Platonic
usemtl Mat
f 58/1 57/2 49/3
f 57/1 51/2 49/3
f 57/1 52/2 51/3
f 57/1 53/2 52/3
f 57/1 58/2 53/3
f 53/1 58/2 55/3
f 55/1 58/2 56/3
f 58/1 49/2 56/3
f 60/1 59/2 50/3
f 51/1 60/2 50/3
f 51/1 52/2 60/3
f 52/1 54/2 60/3
f 54/1 59/2 60/3
f 54/1 55/2 59/3
f 55/1 56/2 59/3
f 56/1 50/2 59/3
f 50/1 56/2 49/3
f 51/1 50/2 49/3
f 53/1 54/2 52/3
f 53/1 55/2 54/3
v -0.76392099637502 3.18288872419396 0.24157359130074
v -1.19173598870271 3.32521713635960 0.23683917164940
v -0.78306306194722 3.13541997840002 0.40364483976785
v -1.03737671519907 3.28261505863834 0.40721699055798
v -1.18521209605474 3.34575691011816 0.40542845541314
v -0.80370495803096 3.07522511109852 0.11622378918084
v -1.09434522520782 3.12720045522424 0.16378063304961
v -1.24675514322701 3.17842259835914 0.17118061295390
v -0.70499496914688 3.33802108308335 0.20485214495355
v -0.99037501060173 3.40176024501343 0.14215919578011
v -1.14324072682640 3.45147190060151 0.13390844658115
v -1.29544694135843 3.46561268486690 0.25270781199823
v -1.37003646402061 3.26589587735626 0.12739856892998
v -1.29317066419271 3.46681424408337 0.00543027296715
v -1.65796880621715 3.56232228109497 0.09376110124708
v -1.71630461721239 3.40749285880943 0.06592379060705
v -1.67768675947512 3.50710865266110 -0.06344192120447
v -1.92037975626145 3.76672238665826 -0.01488406997577
v -1.95768167136360 3.66846052382041 0.00535976597622
v -1.94464441645144 3.70097056100065 -0.09578254425842
v -2.03494954420566 4.21372093716817 0.03101696970799
v -2.06067971991125 4.14594170950512 0.04498079581648
v -2.05168686100066 4.16836653585926 -0.02478531153966
v -0.53673929735901 3.81767815612312 0.70416003284691
v -0.54211289804585 4.10551050696789 0.15673081213801
v -0.76988215450187 3.81767815612312 0.70416003284691
v -0.75745186004206 4.07258997439660 0.39213945427630
v -0.75376135244134 4.19018867824923 0.20561977712178
v -0.42016786878758 3.64282101326598 0.60320621434861
v -0.50736481649043 3.79801314613471 0.23361244856607
v -0.52096684212944 3.90443508053061 0.04063986055703
v -0.42016786878758 3.99253529898026 0.80511385134521
v -0.35783151000436 4.12286684292938 0.42116681785771
v -0.35161049956677 4.22190776212384 0.22393279873523
v -0.52510498895037 4.31927685836573 0.04802338704041
v -0.44923094036186 4.03294716692253 -0.11728913739131
v -0.20083827321292 4.23301754908552 -0.00177844839263
v -0.33614904357838 4.47736033488526 -0.45371036576738
v -0.36806627776471 4.27996973632964 -0.56767388097897
v -0.15471706211593 4.35472710996771 -0.52451269118513
v -0.15626618152100 4.76917838696929 -0.78968936863802
v -0.22615504290596 4.65735295805965 -0.85425181012124
v -0.07938518330384 4.66084902647575 -0.85223335408010
v -0.06275558501640 5.39570818675469 -0.84759850513837
v -0.11096363756207 5.31857306041282 -0.89213249109582
v -0.00972448494737 5.32098458417450 -0.89074019720286
v -0.71412270428364 4.68258781707173 0.98794248212836
v -0.23725025323194 4.65814333457985 1.38107124241787
v -0.56426136442529 4.68258781707173 0.80934469196119
v -0.26761570881245 4.74733763813614 1.07448654917265
v -0.10120524913721 4.75592126454738 1.21893912003349
v -0.78905337421281 4.48068018007513 1.07724137721194
v -0.42836856175058 4.43028362671568 1.26606433918143
v -0.25084267596875 4.42596143141788 1.39727006104652
v -0.78905337421281 4.88449545406833 1.07724137721194
v -0.52448671839528 4.80539236529896 1.38061349767629
v -0.35970283458986 4.79254730777429 1.52700454617361
v -0.09418744157884 4.78891671281588 1.52331744342071
v -0.14295833990830 4.45829166395246 1.58144033671889
v -0.30262206868863 4.68931304194980 1.77172015909983
v 0.17776067220763 4.67495414299646 1.99817347384957
v 0.19827667487806 4.44702711257329 1.97372345396141
v 0.06113844252268 4.53334949216098 2.13715843505295
v 0.39680015267885 4.75968648794881 2.41678982048189
v 0.44172384683220 4.63056160498236 2.36325184658203
v 0.34738199960452 4.63459851706464 2.47568408194759
v 0.61508526453907 5.27332264254076 2.72202219164221
v 0.64607280340254 5.18425467062586 2.68509268087601
v 0.58099753048665 5.18703925841179 2.76264637116258
v -0.47377794926471 0.11314336465414 0.07686037898988
v -0.41941607691488 1.62785852967916 0.10528242194401
v -0.10647074372955 0.11314336465414 -0.36087930279239
v -0.24762584148166 1.62785852967916 -0.43955142218542
v -0.26955636077904 1.62785852967916 -0.44614543165479
v -0.27833786736433 0.11314336465414 0.61382759086754
v -0.04634003099366 1.62785852967916 0.52950784289123
v -0.01679540541192 1.62785852967916 0.51077866992098
v -1.03652523670026 0.11314336465414 -0.02236715110551
v -0.98621287756671 1.62785852967916 0.21929683565685
v -0.97189646455370 1.62785852967916 0.25121402756584
v -0.69174620666699 3.02500138682202 -0.06881241373077
v -0.19051438532309 3.02500138682202 0.59453214058195
v -1.01560353149192 3.02500138682202 0.69693935389456
v -0.77546715551012 4.31928710110774 0.46550714458901
v -0.29723618060151 4.31928710110774 0.76467050532553
v -0.79543473833517 4.31928710110774 1.02924899810473
v -0.94726875359463 5.25357281539345 0.89688868149980
v -0.59472195649122 5.25357281539345 0.96909922310078
v -0.83353151849041 5.25357281539345 1.23830843461469
v -1.05698631670193 6.37642995825059 1.10401445571112
v -0.81380601324909 6.37642995825059 1.15382396061457
v -0.97853246157182 6.37642995825059 1.33951952865301
# 92 vertices
vn 0.00000000000000 -1.00000000000000 0.00000000000000
vn 0.00000000000000 0.00000000000000 0.00000000000000
vn 0.65473896138118 -0.04643234974086 0.75442755076086
vn 0.77887241693344 0.14749715968695 0.60959195042630
vn -0.98206713298651 -0.00000001535854 0.18853155255195
vn -0.91533004350017 -0.12179848481718 0.38384377103480
vn 0.32882915485233 0.04643233289338 -0.94324727690101
vn 0.12947389855611 0.05885494669571 -0.98983463509928
vn 0.00000000000000 1.00000000000000 0.00000000000000
vn -0.00790999322925 0.95772261401622 0.28758446865061
vn 0.92279319804813 0.30289724091557 0.23813016415784
vn -0.67365463653437 -0.21227441990904 0.70790465553493
vn -0.27147114914340 0.10905786859773 -0.95624776939854
vn 0.95514593019003 0.26652111908505 -0.12908425590706
vn -0.37948119811963 0.04712919539665 0.92399830043943
vn -0.60890505509565 -0.09318418465913 -0.78775081187415
vn 0.91658261447315 -0.07790527241918 -0.39218245674029
vn -0.11649198781263 0.59098708381708 0.79822545908837
vn -0.67921057820424 -0.52131902635761 -0.51662313460879
vn 0.80304321697298 -0.40768046679948 -0.43464724623981
vn -0.61480729443351 -0.69226162129662 -0.37787013429367
vn 0.96546885712314 -0.18279621995498 0.18562173335983
vn 0.96546886230147 -0.18279616133077 0.18562176415775
vn 0.96546884389275 -0.18279626215349 0.18562176061847
vn -0.05865696960886 0.37546033584090 0.92498048418685
vn -0.19788508779456 0.57087858441688 0.79683068081162
vn 0.96546886517519 -0.18279623638067 0.18562167530328
vn -0.15489537176706 -0.97566962928974 -0.15516506786893
vn -0.07566824101723 -0.99465751644877 0.07021924432321
vn 0.21378906478447 0.60170049621484 -0.76957829272492
vn 0.19028696014488 0.43161227384321 -0.88176057853973
vn -0.96546893136030 0.18279552237084 -0.18562203419631
vn -0.99310028696434 0.08058029163436 0.08519763278090
vn -0.24444768700451 0.84639075422575 0.47314693223069
vn -0.03722444919051 -0.88327997859285 0.46736583080011
vn 0.08877060813919 0.05559402489245 -0.99449941353771
vn -0.11941952962423 0.98120557925134 0.15157370217280
vn -0.30530267667880 -0.62614601263967 0.71744787020954
vn 0.20644246402154 -0.34801981928807 -0.91447455647022
vn 0.27057590028200 0.96184923483783 -0.04043181455819
vn -0.77121513477484 -0.24265609876707 0.58851103101418
vn 0.54818295185834 -0.57414691616907 -0.60815357430950
vn 0.58615161544699 0.80822813398574 -0.05651165492904
vn 0.68788096192007 -0.58717337587407 -0.42666990624202
vn -0.52667165311378 0.72094995479923 0.45038664776099
vn -0.52667186359401 0.72094979734574 0.45038665367166
vn -0.52667152455539 0.72094994200145 0.45038681857999
vn -0.33942471747186 -0.62352511599694 0.70427785063152
vn -0.37740295280727 -0.78609434991014 0.48951270080735
vn -0.52667163612668 0.72095005075524 0.45038651402508
vn 0.84113541226022 0.51858987249476 0.15347886625755
vn 0.77795496390374 0.49755509490469 0.38369910303768
vn -0.50299613756654 0.10414256711882 -0.85799138183728
vn -0.34940709984651 0.23046879498029 -0.90818434974249
vn 0.52667139029998 -0.72095015982368 -0.45038662689926
vn 0.59107610212649 -0.78746185203066 -0.17473658200673
vn -0.51485515708719 -0.85253043750966 0.09008895792665
vn 0.62677547058152 0.30415083289393 0.71738746875537
vn 0.00832392867456 0.42134113806714 -0.90686402375643
vn -0.66254870025932 -0.71571836632878 -0.22085388808972
vn 0.58756382390127 -0.13460208731445 0.79790414896347
vn 0.21978710769671 0.70865201367666 -0.67045204959216
vn -0.88646791470987 -0.35137595975484 -0.30118029666017
vn 0.62772298067275 -0.63894504520504 0.44464939980084
vn 0.12647094191149 0.96332856764397 -0.23664989248476
vn -0.98085288292976 -0.03094247668630 -0.19227632507640
vn 0.02348471077695 0.99911756059416 -0.03482195388101
vn 0.27929194682883 -0.35365550344094 0.89270588287660
vn 0.27929197430645 -0.35365550049727 0.89270587544612
vn 0.27929191935121 -0.35365550638460 0.89270589030708
vn -0.11909661511739 -0.94544739084407 -0.30322471438477
vn -0.34217144237467 -0.86576691271981 -0.36519358820061
vn 0.88777427685910 0.44934337734212 -0.09973646567869
vn 0.96569497655360 0.23772074615724 -0.10450865564913
vn -0.76924386410985 0.49581746191176 0.40302471635462
vn -0.63687302523445 0.65226276614648 0.41103045340663
vn -0.82249180937631 0.15884133878870 -0.54614709795136
vn -0.27929206851399 0.35365538736674 -0.89270589079027
vn -0.69675702991907 -0.63855464306831 -0.32676843341159
vn 0.97085038954529 -0.17050009197096 -0.16846138951598
vn -0.31313841762673 0.88694951730824 0.33950682637158
vn -0.90723990740476 -0.35437166435540 -0.22657553688382
vn 0.81466157527794 -0.48245588705103 -0.32181180030489
vn 0.07659294495092 0.93526518819248 0.34556120809349
vn -0.98614752416356 -0.14438955503936 -0.08163771788587
vn 0.61703654948650 -0.64801963830284 -0.44647110205661
vn 0.36638277431329 0.84778469019397 0.38343810681674
vn 0.53790870606725 -0.69081416261469 -0.48314595793407
vn 0.44536094422201 0.82249895067476 0.35376419476905
# 89 normals
vt 0.50000000000000 -0.50000000000000 0.00000000000000
vt 0.00000000000000 -0.50000000000000 0.00000000000000
vt 0.75000000000000 -0.06698729097843 0.00000000000000
vt 0.00000000000000 -1.00000000000000 0.00000000000000
vt 0.33333334326744 -0.00000000000000 0.00000000000000
vt 0.33333334326744 -1.00000000000000 0.00000000000000
vt 0.75000000000000 -0.93301272392273 0.00000000000000
vt 0.66666668653488 -0.00000000000000 0.00000000000000
vt 0.66666668653488 -1.00000000000000 0.00000000000000
vt 1.00000000000000 -1.00000000000000 0.00000000000000
# 10 texture coordinates
o Cylinder.4
usemtl Mat.1
f 61/4/1 63/5/1 66/6/1
f 63/7/3 64/1/4 67/8/4 66/9/3
f 61/4/1 69/10/1 63/5/1
f 61/4/1 66/6/1 69/10/1
f 66/9/5 67/8/6 70/11/6 69/12/5
f 69/12/7 70/11/8 64/2/8 63/13/7
f 81/1/9 83/2/10 82/13/10
f 64/1/4 72/1/11 73/13/11 67/13/4
f 67/13/6 73/13/12 74/2/12 70/2/6
f 70/2/8 74/2/13 72/1/13 64/1/8
f 72/1/11 75/1/14 76/13/14 73/13/11
f 73/13/12 76/13/15 77/2/15 74/2/12
f 74/2/13 77/2/16 75/1/16 72/1/13
f 75/1/14 78/1/17 79/13/17 76/13/14
f 76/13/15 79/13/18 80/2/18 77/2/15
f 77/2/16 80/2/19 78/1/19 75/1/16
f 78/1/17 81/1/20 82/13/20 79/13/17
f 79/13/18 82/13/10 83/2/10 80/2/18
f 80/2/19 83/2/21 81/1/21 78/1/19
f 84/4/22 86/5/23 89/6/24
f 86/7/25 87/1/26 90/8/26 89/9/25
f 84/4/22 92/10/27 86/5/23
f 84/4/22 89/6/24 92/10/27
f 89/9/28 90/8/29 93/11/29 92/12/28
f 92/12/30 93/11/31 87/2/31 86/13/30
f 104/1/32 106/2/33 105/13/33
f 87/1/26 95/1/34 96/13/34 90/13/26
f 90/13/29 96/13/35 97/2/35 93/2/29
f 93/2/31 97/2/36 95/1/36 87/1/31
f 95/1/34 98/1/37 99/13/37 96/13/34
f 96/13/35 99/13/38 100/2/38 97/2/35
f 97/2/36 100/2/39 98/1/39 95/1/36
f 98/1/37 101/1/40 102/13/40 99/13/37
f 99/13/38 102/13/41 103/2/41 100/2/38
f 100/2/39 103/2/42 101/1/42 98/1/39
f 101/1/40 104/1/43 105/13/43 102/13/40
f 102/13/41 105/13/33 106/2/33 103/2/41
f 103/2/42 106/2/44 104/1/44 101/1/42
f 107/4/45 109/5/46 112/6/47
f 109/7/48 110/1/49 113/8/49 112/9/48
f 107/4/45 115/10/50 109/5/46
f 107/4/45 112/6/47 115/10/50
f 112/9/51 113/8/52 116/11/52 115/12/51
f 115/12/53 116/11/54 110/2/54 109/13/53
f 127/1/55 129/2/56 128/13/56
f 110/1/49 118/1/57 119/13/57 113/13/49
f 113/13/52 119/13/58 120/2/58 116/2/52
f 116/2/54 120/2/59 118/1/59 110/1/54
f 118/1/57 121/1/60 122/13/60 119/13/57
f 119/13/58 122/13/61 123/2/61 120/2/58
f 120/2/59 123/2/62 121/1/62 118/1/59
f 121/1/60 124/1/63 125/13/63 122/13/60
f 122/13/61 125/13/64 126/2/64 123/2/61
f 123/2/62 126/2/65 124/1/65 121/1/62
f 124/1/63 127/1/66 128/13/66 125/13/63
f 125/13/64 128/13/56 129/2/56 126/2/64
f 126/2/65 129/2/67 127/1/67 124/1/65
f 130/4/68 132/5/69 135/6/70
f 132/7/71 133/1/72 136/8/72 135/9/71
f 130/4/68 138/10/68 132/5/69
f 130/4/68 135/6/70 138/10/68
f 135/9/73 136/8/74 139/11/74 138/12/73
f 138/12/75 139/11/76 133/2/76 132/13/75
f 150/1/77 152/2/78 151/13/77
f 133/1/72 141/1/79 142/13/79 136/13/72
f 136/13/74 142/13/80 143/2/80 139/2/74
f 139/2/76 143/2/81 141/1/81 133/1/76
f 141/1/79 144/1/82 145/13/82 142/13/79
f 142/13/80 145/13/83 146/2/83 143/2/80
f 143/2/81 146/2/84 144/1/84 141/1/81
f 144/1/82 147/1/85 148/13/85 145/13/82
f 145/13/83 148/13/86 149/2/86 146/2/83
f 146/2/84 149/2/87 147/1/87 144/1/84
f 147/1/85 150/1/77 151/13/77 148/13/85
f 148/13/86 151/13/88 152/2/88 149/2/86
f 149/2/87 152/2/89 150/1/89 147/1/87
+12
View File
@@ -0,0 +1,12 @@
# WaveFront *.mtl file (generated by CINEMA 4D)
newmtl Mat
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd Groen_1.png
illum 7
newmtl Mat.1
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd Bruin.png
illum 7
+449
View File
@@ -0,0 +1,449 @@
# WaveFront *.obj file (generated by CINEMA 4D)
mtllib ./tree4.mtl
v 0.17524259902529 6.03351831041842 1.94735930097997
v -0.09790049336883 5.01388687942237 1.56475514483919
v 0.98060044492344 5.28516781038334 1.71929875322697
v 1.31702458725661 4.83100690732714 2.68945235698487
v 0.71958829595638 5.29867053291214 3.51710080616846
v 0.44644520356227 3.84048756689350 2.96291000659710
v -0.35891264233589 4.58883806692858 3.19097055435011
v -0.69533678466905 5.48155050500737 2.39240359402278
v 1.04971439038649 5.92049227180193 2.64246040513826
v 0.01392821948699 6.04186345188188 3.05846207474215
v -0.42802658779894 3.95351360550998 2.26780890243882
v 0.60775958310056 3.83214242543004 1.85180723283493
# 12 vertices
vt 0.00000000000000 -0.00000000000000 0.00000000000000
vt 1.00000000000000 -0.00000000000000 0.00000000000000
vt 0.50000000000000 -1.00000000000000 0.00000000000000
# 3 texture coordinates
o Platonic.4
usemtl Mat
f 10/1 9/2 1/3
f 9/1 3/2 1/3
f 9/1 4/2 3/3
f 9/1 5/2 4/3
f 9/1 10/2 5/3
f 5/1 10/2 7/3
f 7/1 10/2 8/3
f 10/1 1/2 8/3
f 12/1 11/2 2/3
f 3/1 12/2 2/3
f 3/1 4/2 12/3
f 4/1 6/2 12/3
f 6/1 11/2 12/3
f 6/1 7/2 11/3
f 7/1 8/2 11/3
f 8/1 2/2 11/3
f 2/1 8/2 1/3
f 3/1 2/2 1/3
f 5/1 6/2 4/3
f 5/1 7/2 6/3
v -0.17770436190905 8.24165063376631 1.03137306521434
v -1.44541691895436 7.52357850201519 -0.89061027588971
v 0.89497607131702 6.96858442321953 -0.71373489388372
v 1.06421863485915 4.68042369363326 0.02951479998393
v 0.09613585824527 4.97788033659557 2.40556297545073
v -1.17157669880003 4.25980820484445 0.48357963434668
v -2.24425713202611 5.09432288036864 2.05710095001417
v -2.41349969556824 7.38248360995491 1.31385125614652
v 1.37333570972286 6.92303586193118 1.77162827943590
v -0.67141476516760 6.74028809222699 2.85315879184256
v -2.72261677043195 5.57842297667958 -0.25667557987488
v -0.67786629554149 5.32261921136117 -1.50979273571211
# 12 vertices
# 0 texture coordinate
o Platonic.3
usemtl Mat
f 22/1 21/2 13/3
f 21/1 15/2 13/3
f 21/1 16/2 15/3
f 21/1 17/2 16/3
f 21/1 22/2 17/3
f 17/1 22/2 19/3
f 19/1 22/2 20/3
f 22/1 13/2 20/3
f 24/1 23/2 14/3
f 15/1 24/2 14/3
f 15/1 16/2 24/3
f 16/1 18/2 24/3
f 18/1 23/2 24/3
f 18/1 19/2 23/3
f 19/1 20/2 23/3
f 20/1 14/2 23/3
f 14/1 20/2 13/3
f 15/1 14/2 13/3
f 17/1 18/2 16/3
f 17/1 19/2 18/3
v -2.26370230064518 4.18587649605736 -0.47692918539461
v -2.12244606418572 3.66197148860015 -0.35840112947998
v -1.74276452316314 4.01280212726217 -0.56147370665140
v -1.38064610586090 4.21611191573714 0.04844835136575
v -1.75984019964365 4.47669165187661 0.20802132416738
v -1.56786944994383 3.97636278215448 0.51314874257830
v -2.13952174066623 4.12586101321459 0.41109390133881
v -2.45092564472811 3.94612736247469 -0.01222879418206
v -1.83658800645264 4.51378326012467 -0.34080712622846
v -2.27425564909104 4.47257598929411 -0.00135510217445
v -2.04569825737673 3.62487988035209 0.19042732091587
v -1.60803061473833 3.66608715118265 -0.14902470313814
# 12 vertices
# 0 texture coordinate
o Platonic.2
usemtl Mat
f 34/1 33/2 25/3
f 33/1 27/2 25/3
f 33/1 28/2 27/3
f 33/1 29/2 28/3
f 33/1 34/2 29/3
f 29/1 34/2 31/3
f 31/1 34/2 32/3
f 34/1 25/2 32/3
f 36/1 35/2 26/3
f 27/1 36/2 26/3
f 27/1 28/2 36/3
f 28/1 30/2 36/3
f 30/1 35/2 36/3
f 30/1 31/2 35/3
f 31/1 32/2 35/3
f 32/1 26/2 35/3
f 26/1 32/2 25/3
f 27/1 26/2 25/3
f 29/1 30/2 28/3
f 29/1 31/2 30/3
v -0.69502396167023 5.11292499800254 -1.34296286806114
v -0.57938781300177 4.46399172075743 -1.24593261836267
v -0.32960168393318 4.77033019744655 -1.78227636445861
v 0.31251765105434 4.90251401700823 -1.66348585964962
v 0.34394694717306 5.76535444583872 -0.97916915030886
v 0.45958309584152 5.11642116859360 -0.88213890061039
v 0.09416081810447 5.45901596914960 -0.44282540421292
v -0.54795851688305 5.32683214958792 -0.56161590902191
v -0.14379607013181 5.38394668191019 -1.60102496328916
v -0.27874801457061 5.89539558369941 -0.78107504733139
v -0.09164479569690 4.40684794966337 -0.79566344881295
v 0.04330714874190 4.33395058289674 -1.44402672134015
# 12 vertices
# 0 texture coordinate
o Platonic.1
usemtl Mat
f 46/1 45/2 37/3
f 45/1 39/2 37/3
f 45/1 40/2 39/3
f 45/1 41/2 40/3
f 45/1 46/2 41/3
f 41/1 46/2 43/3
f 43/1 46/2 44/3
f 46/1 37/2 44/3
f 48/1 47/2 38/3
f 39/1 48/2 38/3
f 39/1 40/2 48/3
f 40/1 42/2 48/3
f 42/1 47/2 48/3
f 42/1 43/2 47/3
f 43/1 44/2 47/3
f 44/1 38/2 47/3
f 38/1 44/2 37/3
f 39/1 38/2 37/3
f 41/1 42/2 40/3
f 41/1 43/2 42/3
v -0.76392099637502 3.18288872419396 0.24157359130074
v -1.19173598870271 3.32521713635960 0.23683917164940
v -0.78306306194722 3.13541997840002 0.40364483976785
v -1.03737671519907 2.84406352361574 0.23563034712740
v -1.18521209605474 3.34575691011816 0.40542845541314
v -0.80370495803096 3.07522511109852 0.11622378918084
v -0.80370495803096 2.63667357607592 -0.05536285424973
v -1.09434522520782 2.68864892020165 -0.00780601038096
v -1.24675514322701 3.17842259835914 0.17118061295390
v -0.70499496914688 3.33802108308335 0.20485214495355
v -0.70499496914688 2.89946954806075 0.03326550152297
v -0.99037501060173 2.96320870999084 -0.02942744765046
v -1.14324072682640 3.45147190060151 0.13390844658115
v -1.29544694135843 3.02706114984431 0.08112116856766
v -1.37003646402061 2.82734434233366 -0.04418807450059
v -1.29317066419271 3.02826270906078 -0.16615637046342
v -1.65796880621715 3.12377074607238 -0.07782554218349
v -1.71630461721239 2.96894132378683 -0.10566285282352
v -1.67768675947512 3.06855711763851 -0.23502856463504
v -1.92037975626145 3.76672238665826 -0.01488406997577
v -1.95768167136360 3.22990898879781 -0.16622687745435
v -1.94464441645144 3.70097056100065 -0.09578254425842
v -2.03494954420566 4.21372093716817 0.03101696970799
v -2.06067971991125 4.14594170950512 0.04498079581648
v -2.05168686100066 4.16836653585926 -0.02478531153966
v -0.53673929735901 3.81767815612312 0.70416003284691
v -0.54211289804585 4.10551050696789 0.15673081213801
v -0.76988215450187 3.81767815612312 0.70416003284691
v -0.75745186004206 4.07258997439660 0.39213945427630
v -0.75376135244134 4.19018867824923 0.20561977712178
v -0.42016786878758 3.64282101326598 0.60320621434861
v -0.50736481649043 3.35946161111212 0.06202580513550
v -0.52096684212944 3.90443508053061 0.04063986055703
v -0.42016786878758 3.99253529898026 0.80511385134521
v -0.35783151000436 4.12286684292938 0.42116681785771
v -0.35161049956677 4.22190776212384 0.22393279873523
v -0.52510498895037 3.88072532334313 -0.12356325639017
v -0.44923094036186 3.59439563189994 -0.28887578082188
v -0.20083827321292 4.23301754908552 -0.00177844839263
v -0.33614904357838 4.03880879986266 -0.62529700919796
v -0.36806627776471 3.84141820130705 -0.73926052440954
v -0.15471706211593 4.35472710996771 -0.52451269118513
v -0.15626618152100 4.33062685194670 -0.96127601206859
v -0.22615504290596 4.21880142303706 -1.02583845355182
v -0.07938518330384 4.22229749145316 -1.02381999751068
v -0.06275558501640 5.39570818675469 -0.84759850513837
v -0.11096363756207 5.31857306041282 -0.89213249109582
v -0.00972448494737 5.32098458417450 -0.89074019720286
v -0.71412270428364 4.68258781707173 0.98794248212836
v -0.23725025323194 4.65814333457985 1.38107124241787
v -0.56426136442529 4.68258781707173 0.80934469196119
v -0.26761570881245 4.74733763813614 1.07448654917265
v -0.10120524913721 4.75592126454738 1.21893912003349
v -0.78905337421281 4.48068018007513 1.07724137721194
v -0.78905337421281 4.04212864505253 0.90565473378137
v -0.42836856175058 3.99173209169308 1.09447769575086
v -0.25084267596875 4.42596143141788 1.39727006104652
v -0.78905337421281 4.88449545406833 1.07724137721194
v -0.52448671839528 4.80539236529896 1.38061349767629
v -0.35970283458986 4.79254730777429 1.52700454617361
v -0.09418744157884 4.78891671281588 1.52331744342071
v -0.14295833990830 4.01974012892986 1.40985369328832
v -0.30262206868863 4.25076150692721 1.60013351566926
v 0.17776067220763 4.67495414299646 1.99817347384957
v 0.19827667487806 4.00847557755069 1.80213681053083
v 0.06113844252268 4.53334949216098 2.13715843505295
v 0.39680015267885 4.75968648794881 2.41678982048189
v 0.44172384683220 4.63056160498236 2.36325184658203
v 0.34738199960452 4.63459851706464 2.47568408194759
v 0.61508526453907 5.27332264254076 2.72202219164221
v 0.64607280340254 5.18425467062586 2.68509268087601
v 0.58099753048665 5.18703925841179 2.76264637116258
v -0.47377794926471 0.11314336465414 0.07686037898988
v -0.41941607691488 1.62785852967916 0.10528242194401
v -0.10647074372955 0.11314336465414 -0.36087930279239
v -0.24762584148166 1.62785852967916 -0.43955142218542
v -0.26955636077904 1.62785852967916 -0.44614543165479
v -0.27833786736433 0.11314336465414 0.61382759086754
v -0.04634003099366 1.62785852967916 0.52950784289123
v -0.01679540541192 1.62785852967916 0.51077866992098
v -1.03652523670026 0.11314336465414 -0.02236715110551
v -0.98621287756671 1.62785852967916 0.21929683565685
v -0.97189646455370 1.62785852967916 0.25121402756584
v -0.69174620666699 2.58644985179942 -0.24039905716134
v -0.19051438532309 3.02500138682202 0.59453214058195
v -1.01560353149192 2.58644985179942 0.52535271046399
v -0.77546715551012 4.31928710110774 0.46550714458901
v -0.29723618060151 4.31928710110774 0.76467050532553
v -0.79543473833517 3.88073556608514 0.85766235467416
v -0.94726875359463 5.25357281539345 0.89688868149980
v -0.59472195649122 5.25357281539345 0.96909922310078
v -0.83353151849041 5.25357281539345 1.23830843461469
v -1.05698631670193 6.37642995825059 1.10401445571112
v -0.81380601324909 6.37642995825059 1.15382396061457
v -0.97853246157182 6.37642995825059 1.33951952865301
# 95 vertices
vn 0.00000000000000 -1.00000000000000 0.00000000000000
vn 0.00000000000000 0.00000000000000 0.00000000000000
vn 0.71371421421621 -0.58134546489149 0.39070381477000
vn 0.87839837659910 -0.14132063376809 0.45655752152324
vn -0.98206713022755 -0.00000000767927 0.18853156692346
vn -0.91533005316631 -0.12179847817211 0.38384375009308
vn -0.31961071122923 0.53969483017657 -0.77883148597641
vn -0.20610153293287 0.31754814990219 -0.92557297422538
vn 0.00000000000000 1.00000000000000 0.00000000000000
vn -0.36329736293245 0.90448007447300 0.22345205518781
vn 0.92279320965267 0.30289721492232 0.23813015225128
vn -0.67365476488670 -0.21227437808661 0.70790454593355
vn -0.27147115002573 0.10905783914987 -0.95624777250651
vn 0.96671063330607 0.25585839317147 0.00265218715029
vn -0.71998892591248 0.05488760273081 0.69181160559061
vn -0.58207377085028 -0.25854824003290 -0.77093640001236
vn 0.98933185664323 0.05670207111702 -0.13419147723275
vn -0.76077126391121 0.46930142579806 0.44831156102742
vn -0.60802319228710 -0.65465571798651 -0.44914773577140
vn 0.96572099187599 -0.13711740649007 -0.22041275527404
vn -0.61480729443351 -0.69226162129662 -0.37787013429367
vn 0.96546885712314 -0.18279621995498 0.18562173335983
vn 0.96546886230147 -0.18279616133077 0.18562176415775
vn 0.96546884389275 -0.18279626215349 0.18562176061847
vn 0.41353097293455 0.46871289310992 0.78057693935726
vn -0.00241630827065 0.99992102379695 -0.01233319193065
vn 0.11524497103139 0.70706100072906 0.69769860104489
vn 0.96546886517519 -0.18279623638067 0.18562167530328
vn -0.05122354491577 -0.97032735173132 -0.23630695911957
vn 0.01324813967889 -0.98899190269852 -0.14737538190555
vn 0.21378906478447 0.60170049621484 -0.76957829272492
vn -0.11682070934173 0.70049352307965 -0.70403248930170
vn -0.96546893136030 0.18279552237084 -0.18562203419631
vn -0.99357016251034 0.11320834893286 0.00148388040772
vn -0.24587896350236 0.96928709288044 0.00510557365989
vn -0.17975254565255 0.89163666566244 0.41553950326989
vn 0.02852632773553 -0.99943135041604 -0.01797844352237
vn -0.26794439641453 0.86783709692775 -0.41840718639390
vn -0.18637960366833 0.95386435557720 -0.23538359011565
vn -0.11941955030860 0.98120556555140 0.15157377456228
vn -0.12232699735499 -0.94564006743261 0.30133199064181
vn -0.22630968516019 0.75526517049268 -0.61510848526366
vn 0.53412303695067 0.66376022683255 -0.52357897462922
vn 0.40998807245937 0.91208671178667 -0.00275873580272
vn -0.74574824626640 -0.47820622451152 0.46387321546844
vn -0.32478983245239 0.40260968895351 -0.85581364974877
vn 0.98261520436641 0.04836403440206 -0.17924363398544
vn 0.79753479896208 0.60309813557461 0.01452182188804
vn 0.79476391291000 -0.52472566912496 -0.30498081070347
vn -0.52667165311378 0.72094995479923 0.45038664776099
vn -0.52667186359401 0.72094979734574 0.45038665367166
vn -0.52667152455539 0.72094994200145 0.45038681857999
vn -0.76563188473941 -0.59070280906284 0.25471161817957
vn -0.68014172204664 -0.72540995797675 0.10577159731984
vn -0.52667163612668 0.72095005075524 0.45038651402508
vn 0.84137677497326 0.50047856183222 0.20397630176554
vn 0.76180178707102 0.51354432631887 0.39488006042480
vn -0.50299613756654 0.10414256711882 -0.85799138183728
vn -0.11389798702541 0.29440407100763 -0.94886958615275
vn 0.52667139029998 -0.72095015982368 -0.45038662689926
vn 0.59107610212649 -0.78746185203066 -0.17473658200673
vn -0.61352818658661 -0.77969735167365 -0.12512075789750
vn 0.73088689905623 0.37574804984534 0.56975235306701
vn 0.69166162140158 0.72186395165653 -0.02272964537683
vn 0.29179530185972 0.71351245214202 -0.63698938959050
vn -0.67472275112309 -0.67399235584887 -0.30080477618245
vn 0.85361127358178 -0.01577405786627 0.52067165537652
vn 0.76738161088731 0.63520162469730 0.08743202647718
vn 0.23587391552100 0.89340141358086 -0.38235769926670
vn -0.88535610389956 -0.34315197047396 -0.31367386637658
vn 0.77295674815415 -0.55975505765251 0.29868401516550
vn 0.12647094191149 0.96332856764397 -0.23664989248476
vn -0.98085288292976 -0.03094247668630 -0.19227632507640
vn 0.02348471077695 0.99911756059416 -0.03482195388101
vn 0.27929194682883 -0.35365550344094 0.89270588287660
vn 0.27929197430645 -0.35365550049727 0.89270587544612
vn 0.27929191935121 -0.35365550638460 0.89270589030708
vn -0.11909661511739 -0.94544739084407 -0.30322471438477
vn -0.36728566952465 -0.85289739758995 -0.37103539743010
vn 0.88777427685910 0.44934337734212 -0.09973646567869
vn 0.95634934033323 0.27892591600548 -0.08715659828551
vn -0.76924386410985 0.49581746191176 0.40302471635462
vn -0.62539466201418 0.63895006996444 0.44791106797735
vn -0.82249180937631 0.15884133878870 -0.54614709795136
vn -0.27929206851399 0.35365538736674 -0.89270589079027
vn -0.70818534868007 -0.62429144955664 -0.32974793088866
vn 0.98945924180031 -0.06377646489484 -0.13001142773419
vn -0.26765416583632 0.88704742092963 0.37617565116917
vn -0.90284271183540 -0.36386302571120 -0.22908237864574
vn 0.86511407167261 -0.41221024718355 -0.28576276018912
vn 0.07672312101243 0.93841439370342 0.33688572007782
vn -0.98614752416356 -0.14438955503936 -0.08163771788587
vn 0.63726310649875 -0.63906590854864 -0.43068607781825
vn 0.33296447674753 0.86107856960667 0.38428941461922
vn 0.53790870606725 -0.69081416261469 -0.48314595793407
vn 0.44536094422201 0.82249895067476 0.35376419476905
# 96 normals
vt 0.50000000000000 -0.50000000000000 0.00000000000000
vt 0.00000000000000 -0.50000000000000 0.00000000000000
vt 0.75000000000000 -0.06698729097843 0.00000000000000
vt 0.00000000000000 -1.00000000000000 0.00000000000000
vt 0.33333334326744 -0.00000000000000 0.00000000000000
vt 0.33333334326744 -1.00000000000000 0.00000000000000
vt 0.75000000000000 -0.93301272392273 0.00000000000000
vt 0.66666668653488 -0.00000000000000 0.00000000000000
vt 0.66666668653488 -1.00000000000000 0.00000000000000
vt 1.00000000000000 -1.00000000000000 0.00000000000000
# 10 texture coordinates
o Cylinder.4
usemtl Mat.1
f 49/4/1 51/5/1 54/6/1
f 51/7/3 52/1/4 56/8/4 55/9/3
f 49/4/1 58/10/1 51/5/1
f 49/4/1 54/6/1 58/10/1
f 55/9/5 56/8/6 60/11/6 59/12/5
f 59/12/7 60/11/8 52/2/8 51/13/7
f 71/1/9 73/2/10 72/13/10
f 52/1/4 62/1/11 63/13/11 56/13/4
f 56/13/6 63/13/12 64/2/12 60/2/6
f 60/2/8 64/2/13 62/1/13 52/1/8
f 62/1/11 65/1/14 66/13/14 63/13/11
f 63/13/12 66/13/15 67/2/15 64/2/12
f 64/2/13 67/2/16 65/1/16 62/1/13
f 65/1/14 68/1/17 69/13/17 66/13/14
f 66/13/15 69/13/18 70/2/18 67/2/15
f 67/2/16 70/2/19 68/1/19 65/1/16
f 68/1/17 71/1/20 72/13/20 69/13/17
f 69/13/18 72/13/10 73/2/10 70/2/18
f 70/2/19 73/2/21 71/1/21 68/1/19
f 74/4/22 76/5/23 79/6/24
f 76/7/25 77/1/26 80/8/27 79/9/25
f 74/4/22 82/10/28 76/5/23
f 74/4/22 79/6/24 82/10/28
f 79/9/29 80/8/30 83/11/30 82/12/29
f 82/12/31 83/11/32 77/2/26 76/13/31
f 94/1/33 96/2/34 95/13/34
f 77/1/26 85/1/35 86/13/36 80/13/27
f 80/13/30 86/13/37 87/2/37 83/2/30
f 83/2/32 87/2/38 85/1/35 77/1/26
f 85/1/35 88/1/39 89/13/40 86/13/36
f 86/13/37 89/13/41 90/2/41 87/2/37
f 87/2/38 90/2/42 88/1/39 85/1/35
f 88/1/39 91/1/43 92/13/44 89/13/40
f 89/13/41 92/13/45 93/2/45 90/2/41
f 90/2/42 93/2/46 91/1/43 88/1/39
f 91/1/43 94/1/47 95/13/48 92/13/44
f 92/13/45 95/13/34 96/2/34 93/2/45
f 93/2/49 96/2/49 94/1/47 91/1/43
f 97/4/50 99/5/51 102/6/52
f 99/7/53 100/1/54 104/8/54 103/9/53
f 97/4/50 106/10/55 99/5/51
f 97/4/50 102/6/52 106/10/55
f 103/9/56 104/8/57 107/11/57 106/12/56
f 106/12/58 107/11/59 100/2/59 99/13/58
f 118/1/60 120/2/61 119/13/61
f 100/1/54 109/1/62 110/13/62 104/13/54
f 104/13/57 110/13/63 111/2/64 107/2/57
f 107/2/59 111/2/64 109/1/65 100/1/59
f 109/1/62 112/1/66 113/13/66 110/13/62
f 110/13/63 113/13/67 114/2/68 111/2/64
f 111/2/64 114/2/68 112/1/69 109/1/65
f 112/1/66 115/1/70 116/13/70 113/13/66
f 113/13/67 116/13/71 117/2/71 114/2/68
f 114/2/68 117/2/72 115/1/72 112/1/69
f 115/1/70 118/1/73 119/13/73 116/13/70
f 116/13/71 119/13/61 120/2/61 117/2/71
f 117/2/72 120/2/74 118/1/74 115/1/72
f 121/4/75 123/5/76 126/6/77
f 123/7/78 124/1/79 127/8/79 126/9/78
f 121/4/75 129/10/75 123/5/76
f 121/4/75 126/6/77 129/10/75
f 126/9/80 127/8/81 130/11/81 129/12/80
f 129/12/82 130/11/83 124/2/83 123/13/82
f 141/1/84 143/2/85 142/13/84
f 124/1/79 132/1/86 133/13/86 127/13/79
f 127/13/81 133/13/87 134/2/87 130/2/81
f 130/2/83 134/2/88 132/1/88 124/1/83
f 132/1/86 135/1/89 136/13/89 133/13/86
f 133/13/87 136/13/90 137/2/90 134/2/87
f 134/2/88 137/2/91 135/1/91 132/1/88
f 135/1/89 138/1/92 139/13/92 136/13/89
f 136/13/90 139/13/93 140/2/93 137/2/90
f 137/2/91 140/2/94 138/1/94 135/1/91
f 138/1/92 141/1/84 142/13/84 139/13/92
f 139/13/93 142/13/95 143/2/95 140/2/93
f 140/2/94 143/2/96 141/1/96 138/1/94
+12
View File
@@ -0,0 +1,12 @@
# WaveFront *.mtl file (generated by CINEMA 4D)
newmtl Mat
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd Groen_1.png
illum 7
newmtl Mat.1
Kd 0.80000001192093 0.80000001192093 0.80000001192093
map_Kd Bruin.png
illum 7
+442
View File
@@ -0,0 +1,442 @@
# WaveFront *.obj file (generated by CINEMA 4D)
mtllib ./tree5.mtl
v -0.68522162256080 6.03351831041842 2.19125097755093
v -0.64852815968378 5.01388687942237 1.72258619436266
v 0.07831277436571 5.28516781038334 2.53422050695725
v -0.28757409685723 4.83100690732714 3.49365055437902
v -1.27723901623686 5.29867053291214 3.74364140410728
v -1.24054555335984 4.27903910191609 3.27497662091901
v -2.00407995028635 5.02738960195117 2.93200709151269
v -1.63819307906342 5.48155050500737 1.97257704409092
v -0.46213974335663 5.92049227180193 3.28582894830462
v -1.52299870266397 6.04186345188188 2.93871419869404
v -1.46362743256401 4.39206514053258 2.18039865016531
v -0.40276847325667 4.27069396045263 2.52751339977590
# 12 vertices
vt 0.00000000000000 -0.00000000000000 0.00000000000000
vt 1.00000000000000 -0.00000000000000 0.00000000000000
vt 0.50000000000000 -1.00000000000000 0.00000000000000
# 3 texture coordinates
o Platonic.4
usemtl Mat
f 10/1 9/2 1/3
f 9/1 3/2 1/3
f 9/1 4/2 3/3
f 9/1 5/2 4/3
f 9/1 10/2 5/3
f 5/1 10/2 7/3
f 7/1 10/2 8/3
f 10/1 1/2 8/3
f 12/1 11/2 2/3
f 3/1 12/2 2/3
f 3/1 4/2 12/3
f 4/1 6/2 12/3
f 6/1 11/2 12/3
f 6/1 7/2 11/3
f 7/1 8/2 11/3
f 8/1 2/2 11/3
f 2/1 8/2 1/3
f 3/1 2/2 1/3
f 5/1 6/2 4/3
f 5/1 7/2 6/3
v -0.47710384609159 8.68020216878891 1.39413787301751
v -0.21280092820268 7.96213003703779 -0.89305670951526
v 1.46635081269730 7.40713595824212 0.74681330993865
v 1.11824644391651 5.11897522865585 1.42496263065231
v -1.04034854641123 4.97788033659557 2.49140652337988
v -0.77604562852232 4.25980820484445 0.20421194084711
v -2.71950028731121 5.53287441539124 0.85153650392597
v -2.37139591853043 7.82103514497750 0.17338718321230
v 0.34552867051430 6.92303586193118 2.82675261182067
v -2.02632924959824 7.17883962724959 2.47235577546659
v -1.59867814512821 6.01697451170218 -1.22840279795606
v 0.77317977498433 5.76117074638377 -0.87400596160197
# 12 vertices
# 0 texture coordinate
o Platonic.3
usemtl Mat
f 22/1 21/2 13/3
f 21/1 15/2 13/3
f 21/1 16/2 15/3
f 21/1 17/2 16/3
f 21/1 22/2 17/3
f 17/1 22/2 19/3
f 19/1 22/2 20/3
f 22/1 13/2 20/3
f 24/1 23/2 14/3
f 15/1 24/2 14/3
f 15/1 16/2 24/3
f 16/1 18/2 24/3
f 18/1 23/2 24/3
f 18/1 19/2 23/3
f 19/1 20/2 23/3
f 20/1 14/2 23/3
f 14/1 20/2 13/3
f 15/1 14/2 13/3
f 17/1 18/2 16/3
f 17/1 19/2 18/3
v -1.07635339581419 4.20945263379243 -1.05804324269799
v -1.04433320656067 3.68554762633523 -0.87644772552379
v -0.62294773543256 4.03637826499725 -0.78795575461981
v -0.65650508874033 4.21611191573714 -0.26350518493091
v -1.13065033403864 4.50026778961168 -0.20946439552210
v -1.09863014478512 3.97636278215448 -0.02786887834790
v -1.55203580516674 4.14943715094967 -0.29795636642608
v -1.51847845185898 3.96970350020977 -0.82240693611498
v -0.83666243720832 4.53735939785975 -0.67922391946087
v -1.39013085792939 4.49615212702918 -0.70051592057748
v -1.33832110339099 3.64845601808716 -0.40668820158502
v -0.78485268266992 3.68966328891773 -0.38539620046841
# 12 vertices
# 0 texture coordinate
o Platonic.2
usemtl Mat
f 34/1 33/2 25/3
f 33/1 27/2 25/3
f 33/1 28/2 27/3
f 33/1 29/2 28/3
f 33/1 34/2 29/3
f 29/1 34/2 31/3
f 31/1 34/2 32/3
f 34/1 25/2 32/3
f 36/1 35/2 26/3
f 27/1 36/2 26/3
f 27/1 28/2 36/3
f 28/1 30/2 36/3
f 30/1 35/2 36/3
f 30/1 31/2 35/3
f 31/1 32/2 35/3
f 32/1 26/2 35/3
f 26/1 32/2 25/3
f 27/1 26/2 25/3
f 29/1 30/2 28/3
f 29/1 31/2 30/3
v 0.65280006833782 5.55147653302514 -0.75723560374037
v 0.67901265517801 4.90254325578003 -0.60857663654845
v 1.21511504584254 5.20888173246915 -0.85888035401001
v 1.63064992958935 5.34106555203082 -0.35513519543565
v 1.32514963375141 5.76535444583872 0.05784118450116
v 1.35136222059160 5.11642116859360 0.20650015169308
v 0.78904724308688 5.45901596914960 0.30814490196272
v 0.37351235934007 5.32683214958792 -0.19560025661165
v 1.24094424888534 5.82249821693278 -0.60060017897490
v 0.72080518360359 5.89539558369941 -0.19067053472137
v 0.76321804004408 4.84539948468596 0.04986472692761
v 1.28335710532583 4.77250211791933 -0.36006491732592
# 12 vertices
# 0 texture coordinate
o Platonic.1
usemtl Mat
f 46/1 45/2 37/3
f 45/1 39/2 37/3
f 45/1 40/2 39/3
f 45/1 41/2 40/3
f 45/1 46/2 41/3
f 41/1 46/2 43/3
f 43/1 46/2 44/3
f 46/1 37/2 44/3
f 48/1 47/2 38/3
f 39/1 48/2 38/3
f 39/1 40/2 48/3
f 40/1 42/2 48/3
f 42/1 47/2 48/3
f 42/1 43/2 47/3
f 43/1 44/2 47/3
f 44/1 38/2 47/3
f 38/1 44/2 37/3
f 39/1 38/2 37/3
f 41/1 42/2 40/3
f 41/1 43/2 42/3
v -0.30820475703468 3.18288872419396 0.28086059090741
v -1.19173598870271 3.32521713635960 0.23683917164940
v -0.42704582039717 3.13541997840002 0.39271008761138
v -0.62415751554785 3.28261505863834 0.23197684858973
v -1.18521209605474 3.34575691011816 0.40542845541314
v -0.25810774010713 3.07522511109852 0.15926443393072
v -0.51132005171923 3.12720045522425 0.00887512729139
v -1.24675514322701 3.17842259835914 0.17118061295390
v -0.23946071059974 3.33802108308335 0.29060725118015
v -0.41777625458990 3.40176024501343 0.05914291114409
v -1.14324072682640 3.45147190060151 0.13390844658115
v -0.72253419267064 3.46561268486690 -0.05226839286108
v -0.69912585319743 3.26589587735626 -0.19620606316464
v -0.56184352495389 3.46681424408338 -0.24023081478564
v -0.89807307648353 3.56232228109497 -0.40705320035569
v -0.92486742196486 3.40749285880943 -0.46587535399161
v -0.81212974996934 3.50710865266110 -0.54015215818880
v -1.02925575666421 3.76672238665826 -0.65895473737721
v -1.07084316836837 3.66846052382041 -0.66742426818401
v -0.99584302785549 3.70097056100065 -0.73652358698161
v -1.14652592564864 4.21372093716817 -0.69743654112903
v -1.17521215817474 4.14594170950512 -0.70327866787255
v -1.12347843919394 4.16836653585926 -0.75094210844738
v -0.43151831196000 3.81767815612312 0.78125194519106
v -0.54211289804585 4.10551050696789 0.15673081213801
v -0.61011610212717 3.81767815612312 0.63139060533272
v -0.40003098225748 4.07258997439660 0.40035901424345
v -0.75376135244134 4.19018867824923 0.20561977712178
v -0.27732755319517 3.64282101326598 0.77884750344797
v -0.10655399717746 3.79801314613471 0.43967313537297
v -0.52096684212944 3.90443508053061 0.04063986055703
v -0.40711128055767 3.99253529898026 0.93351772679250
v -0.11256246340584 4.12286684292938 0.67946627439622
v -0.35161049956677 4.22190776212384 0.22393279873523
v -0.00084940846832 4.31927685836573 0.28610050303661
v 0.16353432726056 4.03294716692253 0.20823466064718
v 0.27956530996680 4.23301754908552 0.45638471085579
v 0.46640748314456 4.47736033488526 0.02320869023469
v 0.51521179879073 4.27996973632964 -0.08460842998188
v 0.65090330186346 4.35472710996771 0.08559319197348
v 0.82016889019604 4.76917838696930 -0.11853968299357
v 0.80813085373271 4.65735295805966 -0.21292107667934
v 0.91926565056432 4.66084902647576 -0.11703300241767
v 0.92902543845120 5.39570818675469 -0.10279320240793
v 0.92072182206841 5.31857306041282 -0.16789575374405
v 0.99738056309153 5.32098458417451 -0.10175392182826
v -0.74981372738073 4.68258781707173 0.88462205738267
v -0.23725025323194 4.65814333457985 1.38107124241787
v -0.52021283410703 4.68258781707173 0.84413722510375
v -0.46339897867423 4.74733763813614 1.23792782335411
v -0.10120524913721 4.75592126454738 1.21893912003349
v -0.86461417401758 4.48068018007513 0.90486447352213
v -0.70968663809178 4.43028362671568 1.28135498272496
v -0.25084267596875 4.42596143141788 1.39727006104652
v -0.86461417401758 4.88449545406833 0.90486447352213
v -0.85694819765281 4.80539236529897 1.30732116889678
v -0.35970283458986 4.79254730777429 1.52700454617361
v -0.61904815594736 4.78891671281588 1.69322977714013
v -0.69376950724976 4.45829166395246 1.70640516740974
v -0.93838853164941 4.68931304194980 1.74953810140598
v -0.71595538730915 4.67495414299646 2.23179547855126
v -0.68452304762775 4.44702711257329 2.22625310899864
v -0.89463100929774 4.53334949216098 2.26330081150272
v -0.81724281129801 4.75968648794881 2.69327006876680
v -0.74841571875690 4.63056160498236 2.68113399534809
v -0.89295581440158 4.63459851706464 2.70662031400443
v -0.84622630059897 5.27332264254076 3.06740259583698
v -0.79875063669438 5.18425467062586 3.05903135536355
v -0.89845173909772 5.18703925841179 3.07661134972364
v 0.01993332393887 0.11314336465414 0.34118330562760
v -0.41941607691488 1.62785852967916 0.10528242194401
v 0.58268061137442 0.11314336465414 0.24195577553221
v 0.52511899669711 1.62785852967916 0.09095668776365
v -0.26955636077904 1.62785852967916 -0.44614543165479
v -0.17550675796151 0.11314336465414 0.87815051750527
v 0.05641358465694 1.62785852967916 0.96268317781597
v -0.01679540541192 1.62785852967916 0.51077866992098
v -0.34737388159629 0.11314336465413 -0.09655637615467
v -0.46417099486013 1.62785852967916 0.12090913907176
v -0.97189646455370 1.62785852967916 0.25121402756584
v -0.05340338219120 3.02500138682202 0.08948417708718
v -0.09582719120156 3.02500138682202 0.91982119113215
v -0.79370823456185 3.02500138682202 0.46791258778140
v -0.46099134152627 4.31928710110774 0.44498191700026
v -0.28694366222377 4.31928710110774 0.98155529231685
v -0.83865367589355 4.31928710110774 0.86399831640424
v -0.86988570803166 5.25357281539345 0.66500740764184
v -0.64623523460106 5.25357281539345 0.94693660478262
v -1.00221831810884 5.25357281539345 0.99965899777154
v -1.08707211887232 6.37642995825059 0.75314986587276
v -0.93280213133285 6.37642995825059 0.94761944629785
v -1.17835272201402 6.37642995825059 0.98398638433600
# 92 vertices
vn 0.59692882988881 -0.79530578182024 -0.10566307515341
vn 0.59692893773732 -0.79530570707930 -0.10566302843894
vn 0.59692874197819 -0.79530586331664 -0.10566295838423
vn 0.00000000000000 0.00000000000000 0.00000000000000
vn 0.41373061666331 0.13248211950025 0.90070831285612
vn 0.41980200024686 0.39177670159124 0.81870464557069
vn 0.59692879125351 -0.79530578994994 -0.10566323222729
vn -0.80208998142381 -0.58860754397163 -0.10095950118360
vn -0.71005011908356 -0.69821132511165 0.09126759488045
vn 0.38958527600500 0.45702510371092 -0.79959450179333
vn 0.23368975974764 0.36892221095640 -0.89960296712057
vn -0.59692843065080 0.79530610381809 0.10566290697528
vn -0.62649596183231 0.68445611487076 0.37285739448727
vn 0.50269029990791 0.68874988838501 0.52242325142372
vn -0.52126237406035 -0.71918679657680 0.45940819433112
vn -0.11641255794478 0.17953317252110 -0.97683978026965
vn 0.61183549619128 0.77068426297564 0.17805362226606
vn -0.48190801642991 -0.40563222182821 0.77667700127872
vn -0.28881092946775 -0.20983501605527 -0.93410787013977
vn 0.83165056164121 0.54218862790580 -0.11995347052708
vn -0.57903673026002 0.20360160493292 0.78946998136632
vn -0.13420403255627 -0.65775157255880 -0.74118293723079
vn 0.94663099686441 0.22814929063968 -0.22767884608832
vn -0.00510073709113 -0.79339376703978 -0.60868736877280
vn 0.83495865733154 0.33928205945677 0.43328019188268
vn 0.83495860927479 0.33928209395153 0.43328025747981
vn 0.83495866109608 0.33928197157951 0.43328025344084
vn -0.42644388418508 0.03192423354043 0.90395047262226
vn -0.63063380015518 0.14313852086367 0.76276626429516
vn 0.83495868850308 0.33928207770541 0.43328011752342
vn 0.48714385942192 -0.82194152034493 -0.29513216930823
vn 0.52252698983424 -0.85052092574089 -0.05983059227200
vn -0.06144456660727 0.79127354657651 -0.60836727371110
vn 0.04061155593674 0.67148402659138 -0.73990533418609
vn -0.83495839624863 -0.33928184163096 -0.43328086557500
vn -0.84138134703211 -0.50441367383058 -0.19402132490827
vn -0.77691296348082 0.41862978251474 0.47027157299492
vn 0.41907817571309 -0.84140224160125 0.34119752412553
vn 0.20450132665309 0.34509484785688 -0.91601787830793
vn -0.70498503615567 0.67618579977889 0.21393658633805
vn 0.01307294953375 -0.84790365019592 0.52998914892187
vn 0.52419564120910 0.06862461956162 -0.84882836388012
vn -0.35511152603101 0.92421861993230 0.14041277239041
vn -0.55946600482686 -0.76682430568146 0.31460812713472
vn 0.87543587090196 -0.00063280038176 -0.48333387580617
vn -0.01318886196066 0.97990850505520 0.19901099376835
vn 0.96210635063835 0.01995480813007 -0.27194333176941
vn -0.91953395809460 0.16920892712512 0.35471909857243
vn -0.91953394141823 0.16920896875988 0.35471912194168
vn -0.01302741986495 -0.86127350250153 0.50797464525348
vn 0.09052274473113 -0.95706201624783 0.27538687285706
vn -0.91953396041312 0.16920891265060 0.35471909946683
vn 0.32419906808408 0.83677109860041 0.44125853283588
vn 0.24829734760772 0.72691291274747 0.64027029015249
vn -0.31166701549493 0.02322349475400 -0.94990754326087
vn -0.25813332381454 0.22099292433593 -0.94049418633499
vn 0.91953382686039 -0.16920846297635 -0.35471966017782
vn 0.96316560704717 -0.25648396307622 -0.08079597815595
vn 0.08987769409999 -0.98438661474386 -0.15134395533486
vn 0.18878543478171 0.40528863885804 0.89448374989537
vn -0.09172737722315 0.56946682364216 -0.81688042272947
vn -0.05507686086996 -0.87812675626706 -0.47524724020725
vn 0.40632932374921 0.01434982811990 0.91361401209397
vn -0.13733471763266 0.85451828395831 -0.50093680011924
vn -0.43460721247167 -0.69132437288728 -0.57722368482211
vn 0.79858077579338 -0.27513060320625 0.53532410342951
vn -0.43585583667716 0.89575386253077 -0.08749118467397
vn -0.71831311636300 -0.51605537554401 -0.46659738129678
vn -0.57209848590036 0.81636070109851 0.07911085976318
vn 0.27929158443177 -0.35365552720421 0.89270598684197
vn 0.27929159031910 -0.35365547505445 0.89270600565978
vn 0.27929153242018 -0.35365550701666 0.89270601111182
vn 0.52220117465090 -0.74067442785566 -0.42273789174133
vn 0.31015376605214 -0.78445187641923 -0.53706600617244
vn 0.27929162382668 -0.35365556915323 0.89270595789832
vn 0.44490490063013 0.87154509006999 0.20607956077738
vn 0.63314776123248 0.74736141475599 0.20143194428944
vn -0.96738987138900 -0.13142658631213 0.21652687857241
vn -0.95831184555530 0.06386485627612 0.27849539816885
vn -0.64759682249122 -0.18824135861884 -0.73836545585815
vn -0.27929227600352 0.35365568396323 -0.89270570837498
vn -0.11006865368823 -0.80875948496690 -0.57774820376297
vn 0.89167745751453 0.44174508139643 0.09885643541260
vn -0.83241303336445 0.44692019466467 0.32764444369756
vn -0.46171806648608 -0.72405013922318 -0.51241372246579
vn 0.98131027713327 0.14648691249036 -0.12478671588626
vn -0.55661333492007 0.69844150134627 0.44984560083025
vn -0.67344291524491 -0.63723094696663 -0.37471503857525
vn 0.94621070800465 -0.06243415718398 -0.31747011209572
vn -0.28351423100267 0.77886092541734 0.55945986422353
vn 0.91589438748635 -0.13075245893057 -0.37952768733600
vn -0.20146363545568 0.80976424880903 0.55108462593301
# 92 normals
vt 0.50000000000000 -0.50000000000000 0.00000000000000
vt 0.00000000000000 -0.50000000000000 0.00000000000000
vt 0.75000000000000 -0.06698729097843 0.00000000000000
vt 0.00000000000000 -1.00000000000000 0.00000000000000
vt 0.33333334326744 -0.00000000000000 0.00000000000000
vt 0.33333334326744 -1.00000000000000 0.00000000000000
vt 0.75000000000000 -0.93301272392273 0.00000000000000
vt 0.66666668653488 -0.00000000000000 0.00000000000000
vt 0.66666668653488 -1.00000000000000 0.00000000000000
vt 1.00000000000000 -1.00000000000000 0.00000000000000
# 10 texture coordinates
o Cylinder.4
usemtl Mat.1
f 49/4/1 51/5/2 54/6/3
f 51/7/5 52/1/6 55/8/6 54/9/5
f 49/4/1 57/10/7 51/5/2
f 49/4/1 54/6/3 57/10/7
f 54/9/8 55/8/9 58/11/9 57/12/8
f 57/12/10 58/11/11 52/2/11 51/13/10
f 69/1/12 71/2/13 70/13/13
f 52/1/6 60/1/14 61/13/14 55/13/6
f 55/13/9 61/13/15 62/2/15 58/2/9
f 58/2/11 62/2/16 60/1/16 52/1/11
f 60/1/14 63/1/17 64/13/17 61/13/14
f 61/13/15 64/13/18 65/2/18 62/2/15
f 62/2/16 65/2/19 63/1/19 60/1/16
f 63/1/17 66/1/20 67/13/20 64/13/17
f 64/13/18 67/13/21 68/2/21 65/2/18
f 65/2/19 68/2/22 66/1/22 63/1/19
f 66/1/20 69/1/23 70/13/23 67/13/20
f 67/13/21 70/13/13 71/2/13 68/2/21
f 68/2/22 71/2/24 69/1/24 66/1/22
f 72/4/25 74/5/26 77/6/27
f 74/7/28 75/1/29 78/8/29 77/9/28
f 72/4/25 80/10/30 74/5/26
f 72/4/25 77/6/27 80/10/30
f 77/9/31 78/8/32 81/11/32 80/12/31
f 80/12/33 81/11/34 75/2/34 74/13/33
f 92/1/35 94/2/36 93/13/36
f 75/1/29 83/1/37 84/13/37 78/13/29
f 78/13/32 84/13/38 85/2/38 81/2/32
f 81/2/34 85/2/39 83/1/39 75/1/34
f 83/1/37 86/1/40 87/13/40 84/13/37
f 84/13/38 87/13/41 88/2/41 85/2/38
f 85/2/39 88/2/42 86/1/42 83/1/39
f 86/1/40 89/1/43 90/13/43 87/13/40
f 87/13/41 90/13/44 91/2/44 88/2/41
f 88/2/42 91/2/45 89/1/45 86/1/42
f 89/1/43 92/1/46 93/13/46 90/13/43
f 90/13/44 93/13/36 94/2/36 91/2/44
f 91/2/45 94/2/47 92/1/47 89/1/45
f 95/4/48 97/5/49 100/6/48
f 97/7/50 98/1/51 101/8/51 100/9/50
f 95/4/48 103/10/52 97/5/49
f 95/4/48 100/6/48 103/10/52
f 100/9/53 101/8/54 104/11/54 103/12/53
f 103/12/55 104/11/56 98/2/56 97/13/55
f 115/1/57 117/2/58 116/13/58
f 98/1/51 106/1/59 107/13/59 101/13/51
f 101/13/54 107/13/60 108/2/60 104/2/54
f 104/2/56 108/2/61 106/1/61 98/1/56
f 106/1/59 109/1/62 110/13/62 107/13/59
f 107/13/60 110/13/63 111/2/63 108/2/60
f 108/2/61 111/2/64 109/1/64 106/1/61
f 109/1/62 112/1/65 113/13/65 110/13/62
f 110/13/63 113/13/66 114/2/66 111/2/63
f 111/2/64 114/2/67 112/1/67 109/1/64
f 112/1/65 115/1/68 116/13/68 113/13/65
f 113/13/66 116/13/58 117/2/58 114/2/66
f 114/2/67 117/2/69 115/1/69 112/1/67
f 118/4/70 120/5/71 123/6/72
f 120/7/73 121/1/74 124/8/74 123/9/73
f 118/4/70 126/10/75 120/5/71
f 118/4/70 123/6/72 126/10/75
f 123/9/76 124/8/77 127/11/77 126/12/76
f 126/12/78 127/11/79 121/2/79 120/13/78
f 138/1/80 140/2/81 139/13/80
f 121/1/74 129/1/82 130/13/82 124/13/74
f 124/13/77 130/13/83 131/2/83 127/2/77
f 127/2/79 131/2/84 129/1/84 121/1/79
f 129/1/82 132/1/85 133/13/85 130/13/82
f 130/13/83 133/13/86 134/2/86 131/2/83
f 131/2/84 134/2/87 132/1/87 129/1/84
f 132/1/85 135/1/88 136/13/88 133/13/85
f 133/13/86 136/13/89 137/2/89 134/2/86
f 134/2/87 137/2/90 135/1/90 132/1/87
f 135/1/88 138/1/80 139/13/80 136/13/88
f 136/13/89 139/13/91 140/2/91 137/2/89
f 137/2/90 140/2/92 138/1/92 135/1/90
+6 -4
View File
@@ -10,12 +10,13 @@
"collision": [ 0, 0, 0 ],
"maxRotation": [ 170, 70 ],
"minRotation": [ 20, -80 ],
"scale": 0.3,
"left": {
"offset": [ 4.5, -8, -1 ]
"offset": [ 1.5, -2.6, 0 ]
},
"right": {
"offset": [ 0.5, -8, -1 ]
"offset": [ -0.1, -2.6, 0 ]
}
},
{
@@ -28,12 +29,13 @@
"collision": [ 0, 0, 0 ],
"maxRotation": [ 170, 70 ],
"minRotation": [ 20, -80 ],
"scale": 0.3,
"left": {
"offset": [ 4.5, -8, -1 ]
"offset": [ 1.5, -2.6, 0 ]
},
"right": {
"offset": [ 0.5, -8, -1 ]
"offset": [ -0.1, -2.6, 0 ]
}
}
]
-4
View File
@@ -186,10 +186,6 @@
"pos": [ 510, 0, 680 ],
"rot": [ 0, 0, 0 ]
},
{
"pos": [ 560, 0, 150 ],
"rot": [ 0, 0, 0 ]
},
{
"pos": [ 180, 0, 310 ],
"rot": [ 0, 0, 0 ]
+3 -1
View File
@@ -65,7 +65,9 @@
"file": "models/squid/Blooper.obj",
"pos": [ 350, 5, 350 ],
"scale": 0.01,
"music": "WAVE/enemy.wav"
"music": "WAVE/enemy.wav",
"damage": 1,
"health": 10
}],
"crystal": {
"full texture": "models/crystal/Crystal.obj",
Binary file not shown.

Before

Width:  |  Height:  |  Size: 752 KiB

-1
View File
@@ -2,7 +2,6 @@
"world": {
"heightmap": "worlds/rockHeightmap.png",
"texture": "worlds/rockStone.png",
"loadingscreen": "worlds/loadingScreen_picture.png",
"skybox": "skyboxes/water/",
"music": "WAVE/world1.wav",
"object-templates": [
+1 -2
View File
@@ -1,7 +1,6 @@
{
"world": {
"heightmap": "worlds/small.png",
"loadingscreen": "worlds/loadingScreen_picture.png",
"skybox": "skyboxes/water/",
"object-templates": [
{
@@ -13,7 +12,7 @@
"music": "WAVE/world1.wav"
},
"player": {
"startposition": [ 20, 0, 20 ]
"startposition": [ -10, -10, -10 ]
},
"objects": [ ],
"portal": {
+1 -1
View File
@@ -1,7 +1,7 @@
{
"worlds": [
"worlds/fire.json",
"worlds/rock.json",
"worlds/fire.json",
"worlds/ice.json",
"worlds/small.json"