Creating GodRays in ThreeJS using the postprocessing library

In this article, we explore how to create a dynamic Three.js scene by integrating GodRaysEffect from the postprocessing library and loading 3D models using GLTFLoader. We walk through the basics of setting up a scene with a camera, lighting, and controls, and demonstrate how to enhance visual quality using god rays—a stunning light scattering effect… Continue reading Creating GodRays in ThreeJS using the postprocessing library

Using FlakesTexture for enhanced realism in ThreeJS

When creating visually compelling 3D objects, adding textures can significantly enhance realism. One such texture that adds detail and depth to materials is FlakesTexture, which can simulate the appearance of surfaces like metallic paint or car coatings. This texture is part of the THREE.js library and works in conjunction with MeshPhysicalMaterial to create surfaces with… Continue reading Using FlakesTexture for enhanced realism in ThreeJS

Dynamic Procedural Clouds in ThreeJS

In 3D graphics, adding dynamic environmental elements like clouds can enhance the realism and immersion of the scene. In this article, we will explore how to create a cloud system using Three.js. The cloud system will be based on particle systems, allowing for smooth movement and animation of clouds across the sky. Step 1: Setting… Continue reading Dynamic Procedural Clouds in ThreeJS

Multi-Domain tab in SuiteCommerce Configuration record

The ‘Multi-Domain’ tab in SuiteCommerce allows businesses to manage multiple websites or stores under different domains. Domain Assignment: You can assign specific domains or subdomains to different regions or languages. For example, you might use example.com for the US, example.ca for Canada, and example.co.uk for the UK. Language-specific domains, like en.example.com for English and fr.example.com… Continue reading Multi-Domain tab in SuiteCommerce Configuration record

How to check if email address is already in use or not using express-validator in Node.js ?

We use ‘express-validator’ middleware to implement this functionality. Command to install express-validator: npm install express-validator Steps to use express-validator to implement the logic: Install express-validator middleware. Create a validator.js file to code all the validation logic. Validate email by validateEmail : check(’email’) and chain on all the validation with ‘ . ‘ Use the validation name(validateEmail) in the routes as a… Continue reading How to check if email address is already in use or not using express-validator in Node.js ?

Vendor sync from NetSuite to multiple TrackTrace

Vendor sync from NetSuite to multiple TrackTrace. It is to be done based on subsidiaries included in the subsidiary sublist. define([‘N/record’, ‘N/search’, ‘N/ui/serverWidget’, ‘../../Common Library/jj_tracktracerx_ns_utility.js’, ‘../../Config Module/jj_cm_tracktracerx_api_config.js’],     /**    * @param{record} record    * @param{search} search    * @param{serverWidget}    * @param{jjUtil} jjUtil    * @param{TrackTrace} TrackTrace    */     (record, search,… Continue reading Vendor sync from NetSuite to multiple TrackTrace

Client script to prevent creation of duplicate manufacturer records (custom record type)

Client script to prevent creation of duplicate manufacturer records (custom record type) Example: We have an existing manufacturer record “TE Connectors Inc.” and somebody tries to create “TE Connectors” this should present a warning, showing the current record and then a confirmation if they would like to proceed and create the record. Same if someone… Continue reading Client script to prevent creation of duplicate manufacturer records (custom record type)

Setting Up the SuiteCommerce Analytics Data Feature

Prerequisites The SuiteCommerce Analytics Data feature requires these or later application versions: NetSuite 2021.2 SuiteCommerce 2021.2 or SuiteCommerce Advanced 2021.2 The SuiteCommerce Cookie Consent extension prerequisites are the same as for the feature: NetSuite 2021.2 SuiteCommerce 2021.2 or SuiteCommerce Advanced 2021.2 Enable the SuiteCommerce Analytics Data Feature To enable the SuiteCommerce Analytics Data feature: Go… Continue reading Setting Up the SuiteCommerce Analytics Data Feature

Hide New Registration Option even without Advanced Site Customization

Scenario There are scenarios where users need to allow only existing customers to be able to do a Checkout from the Web Store. The option to do so can be found under (Administrator) Commerce > Websites > Website List > Edit > Shopping Tab > Type of Customer Registration = existing customers only.  However, this is not… Continue reading Hide New Registration Option even without Advanced Site Customization

Customer Saved Search for Yearly Comparison of Sales Orders

1) Navigate to Reports > Saved Searches > All Saved Searches > New 2) Click on the Customers link 3) Criteria tab > Standard sub tab > set the following Filters with their corresponding Description:    — Transaction:Type | is Sales Order         — Transaction:Date | is on or after 11/20/2022 4) Results tab > Columns sub tab> set… Continue reading Customer Saved Search for Yearly Comparison of Sales Orders