-
Posts
219 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Downloads
Everything posted by Andy90
-
Thanks for your feedback Its nice to see that it actualy helped someone.
-
Its still freezing. I face the issue again
-
I think in cs2 the use an much higher polycount then in the old games. So the use much more details. I posted an screenshot below In modern games, the environment is much more than simple boxes or geometric shapes. For this reason, I recommend using 3D models instead of brushes. Brushes are a holdover from the early days of game development, when people wanted to quickly and easily create level geometry directly in the engine because there were few specialised 3D programs available. At this time, 3DS Max was one of the few useful tools, and Blender did not play a significant role in the industry. Today this has changed. With Blender, we have a free, extremely powerful software that is capable of creating AAA-quality assets. Thanks to the continuous development of Blender and its community, developers can create highly detailed models and textures that meet the demands of modern games. I see this in my own project, Nuclear Frontiers. After talking to some friends, I realised that the lack of detail on the surfaces of my buildings was a problem. In order to create more realistic and appealing environments, the textures must be much more detailed. Modern players expect a high quality of textures, normal maps and other surface details that go beyond simple geometric shapes. in the screenshot you can see what i mean. The wall within the blender screnshot has a bit more details and it looks more interesting than just the block from the gas station.
-
What do you want to do with the CWindow ?
-
any news on this topic ?
-
I have a 3060 and have the same issue
-
Hello, if you set the pickmode to none within the new field in the physics tab it disables also the pick for the editor.
-
This sounds intresting. sadly i have not that much clue from shadows. Also there are ways for order independent transparency. Im not 100% if it will help on the performance to this problem but i found a few months ago something intresting S4385-order-independent-transparency-opengl.pdf (gputechconf.com)
-
Hello, according to the discord i post here also an bug report. I got the feeling that there is an issue with the foliage system at the moment. If you create an scene with just grass and tree's the frames drops arround 90 fps. I attached an map wich is using the nature dlc stuff so you can test it for yourself. test.zip
-
Yeah with the physics disabling and reactivating it is working. I was not expecting to do this. Maybe SetPosition() should do this allready. Or an Translate() function wich is doing this. Thanks Reep
-
Hello im not 100% sure if its a bug but it feels like it. I try to change the position for my player. But however he gets teleported back to the old position. I use a slight modifyed version of the FPS Controls. How to reproduce: Change the update function with the following code and press enter, wich sets the player to 0,0,0 and press any movement key after the position change. void FirstPersonControls::Update() { Vec3 movement; float jump = 0; bool crouch = false; auto entity = GetEntity(); auto window = ActiveWindow(); if (window) { if (!freelookstarted) { freelookstarted = true; freelookrotation = entity->GetRotation(true); freelookmousepos = window->GetMouseAxis(); } auto newmousepos = window->GetMouseAxis(); lookchange.x = lookchange.x * mousesmoothing + (newmousepos.y - freelookmousepos.y) * 100.0f * mouselookspeed * (1.0f - mousesmoothing); lookchange.y = lookchange.y * mousesmoothing + (newmousepos.x - freelookmousepos.x) * 100.0f * mouselookspeed * (1.0f - mousesmoothing); if (Abs(lookchange.x) < 0.001f) lookchange.x = 0.0f; if (Abs(lookchange.y) < 0.001f) lookchange.y = 0.0f; if (lookchange.x != 0.0f or lookchange.y != 0.0f) { freelookrotation.x += lookchange.x; freelookrotation.y += lookchange.y; camera->SetRotation(freelookrotation, true); } freelookmousepos = newmousepos; float speed = movespeed;// / 60.0f; bool jumpkey = window->KeyHit(KEY_SPACE); if (entity->GetAirborne()) { speed *= 0.25f; } else { if (window->KeyDown(KEY_SHIFT)) { speed *= 2.0f; } else if (window->KeyDown(KEY_CONTROL)) { speed *= 0.5f; } if (jumpkey) { jump = jumpforce; } } if (window->KeyDown(KEY_D)) movement.x += speed; if (window->KeyDown(KEY_A)) movement.x -= speed; if (window->KeyDown(KEY_W)) movement.z += speed; if (window->KeyDown(KEY_S)) movement.z -= speed; if (movement.x != 0.0f and movement.z != 0.0f) movement *= 0.707f; if (jump != 0.0f) { movement.x *= jumplunge; if (movement.z > 0.0f) movement.z *= jumplunge; } crouch = window->KeyDown(KEY_CONTROL); if (window->KeyDown(KEY_ENTER)) { this->GetEntity()->SetPosition(0, 0, 0); this->currentcameraposition = this->GetEntity()->position; } } entity->SetInput(camera->rotation.y, movement.z, movement.x, jump, crouch); float eye = eyeheight; float y = TransformPoint(currentcameraposition, nullptr, entity).y; float h = eye; if (y < eye) h = Mix(y, eye, 0.5f); currentcameraposition = TransformPoint(0, h, 0, entity, nullptr); camera->SetPosition(currentcameraposition, true); }
-
Sendet you via PN in discord
-
Hello, i am unable to update the project. If i do an update he wont find the vs solution anymore its related to the $PROJECTNAME.vcxproj variable.
-
Missing the outline in the editor within all projects
Andy90 replied to Andy90's topic in Bug Reports
ah ok -
Missing the outline in the editor within all projects
Andy90 replied to Andy90's topic in Bug Reports
-
Missing the outline in the editor within all projects
Andy90 replied to Andy90's topic in Bug Reports
No the outline. Refraction was looking also a bit wrong. If i uninstall do i need to move my projects ? or can i just do a fresh install ? -
Missing the outline in the editor within all projects
Andy90 replied to Andy90's topic in Bug Reports
-
Missing the outline in the editor within all projects
Andy90 replied to Andy90's topic in Bug Reports
Its in all my projects. -
Missing the outline in the editor within all projects
Andy90 replied to Andy90's topic in Bug Reports
No errors -
Hello, i miss the outlines in the 3d viewport. Its in all project. You can see it on the screenshot bellow. He is light visible at the left corner from the viewport.
-
int animationLength = model->CountAnimationFrames(position) -2; gives the actual last frame
-
Hello i try the new animation hooks. Right now the hook get triggert all the time at the start. void ReloadWeaponHook(shared_ptr<Skeleton> skeleton, shared_ptr<Object> extra) { auto weaponComponent = extra->As<Weapon>(); if (weaponComponent != nullptr) { auto model = weaponComponent->GetEntity()->As<Model>(); weaponComponent->EndReload(); Print("Done"); } } bool Weapon::CreateHooks() { auto model = this->GetEntity()->As<Model>(); int position = model->FindAnimation("Armature|17 Reload"); if (position != -1) { int animationLength = model->CountAnimationFrames(position); model->skeleton->AddHook(position, animationLength, ReloadWeaponHook, this->As<Weapon>()); return true; } return false; } Done is getting writen after he starts the animation
-
After the last build the editor crashes when you try to save an mdl. He also crashes when you try to conver an gltf into mdl
- 1 reply
-
- 3
-
Hello i have some buildings with windows. After the shader changes if you look thru the window the enviroment is very dark